-
WINSOCK Problem!!!!
I have a Client Server Program written using WinSock.The problem is while Data Transfer,
I have to transfer some 9000 bytes in one shot,the client is writing all the data on to socket in one shot but the server
reads only some 3000 bytes at a time. Can anyone suggest me how to read all the 9000 bytes in one shot at the server end also.
I have tried SetSockOpt and GetSockOpt but nothing works.
Thanks
Rinks.
-
Re: WINSOCK Problem!!!!
You are not guaranteed to get all of the data at one time, you need to keep reading from the port until all of the data has been read.