Protocol/Packet Design Questions

Posted by cam on Stack Overflow See other posts from Stack Overflow or by cam
Published on 2010-04-04T14:43:57Z Indexed on 2010/04/04 14:53 UTC
Read the original article Hit count: 169

Filed under:
|

I'm looking to a design a protocol for a client-server application and need some links to some resources that may help me.

The big part is I'm trying to create my own "packet" format so I can minimize the amount of information being sent. I'm looking for some resources to dissect their protocol, but it seems some completely lack packet design, such as SMTP (which just sends strings terminated by CLRF). What are the advantages/disadvantages of using a system like SMTP over a system that uses a custom made packet? Couldn't SMTP use only a couple bytes to cover all commands through bit flags and save bandwidth/space?

Just trying to get my head around all this.

© Stack Overflow or respective owner

Related posts about packet

Related posts about protocols