Sign In/My Account | View Cart  
advertisement

Article:
 Protocol Design: How Many Bytes?
Subject: Protocol design.
Date: 2003-11-28 08:53:11
From: Jason

Just curious if you are going to venture further into the design of an actual protocol? I'm also wondering if there is a proper forum to discuss protocol design.


I'm involved in development of an application where we have built our own protocol (over TCP) from scratch. Its a binary protocol. One thing that I've had trouble with is the message header. Our header currently looks like <magic><type><len>. The magic is mainly to help track down development issues, type is the type of message and len is the total length of the message. Anything beyound the header is specific to the type. Is this sane? I've been thinking of adding an ID field to the header, so any message that requires a response would send the ID back so the application could determine what triggered that response. Anyways, I'm rambling now and look forward to more articles on protocol design.


No Previous Message Previous Message   Next Message Next Message


Full Text Titles Only Newest First

Sponsored By: