B
Babu
Hi all,
I wrote a client program using winsock2.0 . This client
connects to a server and exchanges messages . The problem
is,after some time,recv function call is returning 65535
bytes ( all of them are junk bytes ) and the buffer that I
am using is just 1000 bytes long.The recv continues to
return 65535 junk bytes for a while and causes a memory
exception.I have a few quesions here...
1) What are the possible sources of these junk bytes ?
I wrote a client program using winsock2.0 . This client
connects to a server and exchanges messages . The problem
is,after some time,recv function call is returning 65535
bytes ( all of them are junk bytes ) and the buffer that I
am using is just 1000 bytes long.The recv continues to
return 65535 junk bytes for a while and causes a memory
exception.I have a few quesions here...
1) What are the possible sources of these junk bytes ?