On Jun 15, 2011, at 8:01 PM, Tony Romano wrote:

> 2. You need to know how many bytes any particular packet contains.
> Usually there is some operation code pair with the number of byte to
> expect for the operation.

That's certainly the way I prefer, but it is also possible to use a marker at 
the end of the data, and collect until you hit the marker.

-- 
Scott Ribe
[email protected]
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to