J
Jay
Hey There,
I have a situation that is occurring that I need help in
understanding. I have a thread that has a recv function in it, and I
have a child thread of that original thread that processes the data.
The parent thread will execute a bunch of recvs normally, but then will
read less data than is there. For example, if I expect a packet of 1056
bytes, only 284 are returned from the recv. When I put a Sleep()
function before the recv call, then it will receive the full 1056 bytes
and continue on it's merry way. What in recv could cause this?
-Jay
(patelj27b at gmail dot com)
I have a situation that is occurring that I need help in
understanding. I have a thread that has a recv function in it, and I
have a child thread of that original thread that processes the data.
The parent thread will execute a bunch of recvs normally, but then will
read less data than is there. For example, if I expect a packet of 1056
bytes, only 284 are returned from the recv. When I put a Sleep()
function before the recv call, then it will receive the full 1056 bytes
and continue on it's merry way. What in recv could cause this?
-Jay
(patelj27b at gmail dot com)