in reply to Re: Handling sockets in a server
in thread Handling sockets in a server
OK, so it appears you are answering question #2 for closing the socket (not a connection). Can someone tell me when doing the close($sock) what are the possible reasons for failing to close the socket? How about possible reasons for failing to close a socket connection close($new_sock)?
Is shutdown($sock,2) useful? What does it do as it's not communicating with a client?
How about any answers for questions 3 and 4?
Thank you
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Handling sockets in a server
by BrowserUk (Patriarch) on Oct 21, 2005 at 17:56 UTC | |
by skerr1 (Sexton) on Oct 21, 2005 at 18:23 UTC | |
by BrowserUk (Patriarch) on Oct 21, 2005 at 19:14 UTC | |
by skerr1 (Sexton) on Oct 23, 2005 at 03:07 UTC | |
by skerr1 (Sexton) on Oct 26, 2005 at 00:24 UTC | |
by skerr1 (Sexton) on Dec 01, 2005 at 04:10 UTC |