dushkin
2011-08-07 18:11:16 UTC
Hi,
I have a simple sockets server.
It consists of a socket with which I accpet requests. Then I create a
thread, attaching to it a socket with which keeps the connection to my
client.
I use the regular socket callbacks like: OnConnect, OnReceive, etc.
The problem is that out of, lets say, 1000 requests, there are about
1% missing. With wireshark it seems that the requests arrives to my
server pc, but on OnReceive I don;t see any evidence of that.
Also , CAsyncSocket::Receive() uses a large enough buffer for all
possible requests.
Any advise would be blessed.
Thanks.
I have a simple sockets server.
It consists of a socket with which I accpet requests. Then I create a
thread, attaching to it a socket with which keeps the connection to my
client.
I use the regular socket callbacks like: OnConnect, OnReceive, etc.
The problem is that out of, lets say, 1000 requests, there are about
1% missing. With wireshark it seems that the requests arrives to my
server pc, but on OnReceive I don;t see any evidence of that.
Also , CAsyncSocket::Receive() uses a large enough buffer for all
possible requests.
Any advise would be blessed.
Thanks.