Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How to find out whether socket is still connected?

by izut (Chaplain)
on Aug 10, 2006 at 08:45 UTC ( [id://566575]=note: print w/replies, xml ) Need Help??


in reply to How to find out whether socket is still connected?

I think you will know if a socket crashed only when writing to it, and checking this operation results.

Is the program using some specific protocol, or you are developing your own? IRC, for example, has a PING command for checking connection status.

If you are responsible for both sides, you can implement something like that.

Igor 'izut' Sutton
your code, your rules.

  • Comment on Re: How to find out whether socket is still connected?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-25 07:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found