|
-
Jul 11th, 2007, 09:51 AM
#1
Thread Starter
Addicted Member
[2005] Flushing buffer on synchronous sockets?
Is it possible to flush the buffer of a synchronous socket? I have a problem because of a design "issue" in the TCPClient, where the programmer made it to expect 3 different commands, but just the last of them reply.
The problem is that since the sending buffer isn't full the first message concatenates with the second, and the last part of the second with the last one.
I've tried reducing SendingBuffer, SendingTimeout, setting to True NoDelay... and had no luck.
I know I could do this with a asynchronous socket, but it's a shame having to reprogram a lot of the server part just because a "fault" by another person.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|