|
-
May 5th, 1999, 08:55 AM
#1
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.
-
May 5th, 1999, 12:10 PM
#2
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|