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

    Socket and Pluggin Cable

    Hello,

    It seems (on a blocking socket) in a server-client applicaiton that:

    if the client plugs out his cable, the server will never know this... and thus recv() and send() will not fail.

    so, how do I catch this properly and fast ( now I'm using a 10 minute no packets = DC system, but its too long )

    Thanks

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,633

    Re: Socket and Pluggin Cable

    Best regards,
    Igor

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