Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: IO::Socket "broken pipe"

by rgiskard (Hermit)
on Feb 14, 2008 at 16:31 UTC ( #667962=note: print w/ replies, xml ) Need Help??


in reply to IO::Socket "broken pipe"

Check out thread 393313 (since it's similar to your question). One suggestion is to add a subroutine to $SIG{PIPE} to reset your connection, but without seeing any code, it's somewhat difficult to say what you should/shouldn't do.
Update a little code goes a long way


Comment on Re: IO::Socket "broken pipe"
Replies are listed 'Best First'.
Re^2: IO::Socket "broken pipe"
by hallikpapa (Scribe) on Feb 14, 2008 at 19:41 UTC
    The $SIG{PIPE} suggestion worked guys. Thank you for your help. I am now catching the broken pipe error gracefully and continuing to listen for connections on the server side.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2015-08-05 03:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (76 votes), past polls