Sockets and timeouts
From: Francois Goudal (francois_nospam__at_goudal.net)
Date: 10/25/05
- Previous message: Peter T. Breuer: "Re: Any makefile gurus out there?"
- Next in thread: Eric Taylor: "Re: Sockets and timeouts"
- Reply: Eric Taylor: "Re: Sockets and timeouts"
- Reply: David Schwartz: "Re: Sockets and timeouts"
- Reply: John McCallum: "Re: Sockets and timeouts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Peter T. Breuer: "Re: Any makefile gurus out there?"
- Next in thread: Eric Taylor: "Re: Sockets and timeouts"
- Reply: Eric Taylor: "Re: Sockets and timeouts"
- Reply: David Schwartz: "Re: Sockets and timeouts"
- Reply: John McCallum: "Re: Sockets and timeouts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]