08-23-2002, 09:56 AM
This is abit out of my league, I need to design a protocol for my client server to communicate to. I am creating a Live Customer Service application similar to LivePerson (if you are unfamiliar with LivePerson goto http://www.liveperson.com). Please can anyone help me out?
08-23-2002, 11:32 AM
Please be more definitive. What exactly is the purpose of this protocol?
08-23-2002, 11:55 AM
All you need to do is decide on what functions each piece of the software is going to need, and what sort of data they're going to be sending back and forth. Then, think up some prefixes for each bit...
For example, say I had a client, and I wanted to tell the server my local time, i might send something like this:
The five characters on the front define what sort of information this is, if I wanted to send my IP address, it might look like this:
As long as the client and server both know what the various prefixes mean, they can communicate effectively.
08-23-2002, 12:45 PM
08-23-2002, 03:22 PM
LivePerson uses port 80 and UDP 7424, does that mean they did not create there own protocol for there application?
08-23-2002, 10:15 PM
u could probably just use TCP/IP protocol suite to communicate
08-24-2002, 06:04 AM
You will have to use TCP or UDP as the base communications layer, but then you have to think up a set of commands to send via TCP or UDP.
Ports have nothing to do with it.. they will have sorted out a set of commands that define what the data they're sending back and forth is.