Good Morning
I've been racking my brain for a couple days so I figured I would open
my problem up to the experts. I am working on a server that kicks off x
clients via a system call that connect back to the server via a
streaming socket.
I've done this satisfactorly before but the clients in this project send
more messages in a burts than previously. Not all records are the same
length.
Now the problem:
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.
I've tried sleep but one second intervals are too slow for my needs.
I've tried nanosleep with inconsistent results.
Does anyone have a more efficent method of keeping the records apart?
Oh, and I'm running RedHat 5.2, ver 2.0.36.
Larry G.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]