CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    17

    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.


  2. #2
    Join Date
    May 1999
    Posts
    19

    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
  •  





Click Here to Expand Forum to Full Width

Featured