Sockets and timeouts

From: Francois Goudal (francois_nospam__at_goudal.net)
Date: 10/25/05

  • Next message: Tauno Voipio: "Re: need help in developing a secure encrypted filesystem for a usb pendrive"
    Date: Tue, 25 Oct 2005 17:59:24 +0200
    
    

    Hi,

    I'm currently writing my first server software using sockets.
    It currently works fine but :
    When I connect a client to it (just a telnet for example) and then I
    disconnect the RJ45 between my two computers, the server can't detect
    that the link is down and so that the connection have to be closed.
    I just read about handling SIGPIPE but i'm not sure about this.
    Could someone tell me the best way to do that ?

    Thank's

    -- 
    Francois Goudal
    

  • Next message: Tauno Voipio: "Re: need help in developing a secure encrypted filesystem for a usb pendrive"