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

    Cool Problems with nonblocking sockets in Windows

    When I work in full-duplex mode with sockets (server & clients send & receive data through the same port ) I have the following results:
    1. Blocking mode - works properly from 2 sides - server sends and receives data without problems and also client sends and receives data without problems.

    2. Unblocking mode - server sends and receives data properly, but client only sends data properly, but
    does not receives data (I use recv()). Recv in Client does not wait data and immedeatelly goes to the next operator after recv.
    What's is it needed to add in my appl. to work in nonblocking mode with full-duplex socket?

  2. #2
    Join Date
    Aug 2010
    Posts
    51

    Smile Re: Problems with nonblocking sockets in Windows

    hi,


    server sends and receives data properly, but client only sends data properly, but
    does not receives data (I use recv()). Recv in Client does not wait data and immedeatelly goes to the next operator after

    regards,
    phe9oxis,
    http://www.guidebuddha.com

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