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
    13

    URGENT!! SOCKETS

    how to detect that the connection with the server is lost , will it send FD_CLOSE event ,,,
    i am trying to remove the cable from the system,,but it not generating FD_CLOSE event why...
    what am i doing wrong...
    as i am expecting FD_CLOSE event when the cable is forcefully removed.....other wise its working fine..

    thanks a lot in advance
    Samar


  2. #2
    Guest

    Re: URGENT!! SOCKETS

    The only way to determine a lost connection is by performing a socket operation such as send or recv which will then return the appropriate error.


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