monitoring winsock buffers

Sep 20, 2009 at 4:10pm
Hi everybody,

I'm struggled with a problem with winsock. I'm sending data to another application over TCP and after a while a I get the error 10035 by the send function. I have read some articles and I think it could be that the output buffer of the system becomes full.

I did the buffer bigger with the setsockopt SO_SNDBUF but it did't help. So the question is: do you know a way to monitoring the winsock buffers? how can I do to know if the buffer overruns?

Thank you very much.

Radeberger
Sep 21, 2009 at 2:54am
Do you flush the buffers at any point?
Last edited on Sep 21, 2009 at 2:54am
Sep 21, 2009 at 5:59am
That's my question. I wanted to look for the winsock buffers, in this case the send buffer to check if it's full in order to stop sending. I think sometimes the receiver works slower than the sender and I should control these ups and downs. So how can I manage it?

Thank you very much

Radeberger
Topic archived. No new replies allowed.