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
In reply to Re^2: Handling sockets in a server
by skerr1
in thread Handling sockets in a server
by skerr1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |