UDP doesn't even guarantee that they arrive in the same *order*, or
even that they arrive *at all*! So keep that in mind.
On Sep 27, 2003, at 10:07 AM, Lars Jensen wrote:
and download MyFirstSocket. This will show you how to exchange bytes
between
machines, but it doesn't guarantee that messages will arrive in one
chunk.
You will need to invent or borrow a protocol -- a way to group the
bytes
together into messages and decide what they mean. (That's for TCP; I
believe
UDP works the same way but I haven't used it myself.)
--
Kevin Ballard
kevin at sb dot org
http://www.tildesoft.com
---
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
|