> The records picked up by the server are frequently appended.  For
> example the  third record is appended to the second and the fourth may
> be appended to the first up to the size of the read buffer.  The first
> message/record always "appears" to come in on it's own.

TCP has no record boundaries. You need to impose your own. A standard approach
is to send a length first then as data comes in your reblock it until you
have a message, then process it

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to