Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: IO::Socket persisting on Linux despite being closed (updated)

by localshop (Monk)
on Oct 27, 2018 at 20:25 UTC ( [id://1224776]=note: print w/replies, xml ) Need Help??


in reply to IO::Socket persisting on Linux despite being closed (updated)

It's been a while since I've done much work at this layer but it looks as though you are running a single threaded server listener and so you must wait for the TIMEOUT release by the server. This is an important necessary requirement - you do not want another client to connect to your TCP connection and you do not want to lose the connection if it is interrupted for a minute. I may not be explaining this very well but is worth reading more on single and multi-threaded TCP servers.

A good place to start off the top of my search is this SO article. or some of the older PM nodes such as 549414

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1224776]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-03-29 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found