Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: unexpected program abort on write on closed handle

by virtualsue (Vicar)
on Jul 25, 2005 at 09:32 UTC ( #477739=note: print w/replies, xml ) Need Help??


in reply to Re^2: unexpected program abort on write on closed handle
in thread unexpected program abort on write on closed handle

If you use 4 arg select (or IO::Select) before you write to your socket then you can avoid getting SIGPIPE for a relatively unsurprising condition like "the reading end is dead".
  • Comment on Re^3: unexpected program abort on write on closed handle

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://477739]
help
Chatterbox?
NodeReaper snacks on some Soylent Green

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2017-12-15 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (415 votes). Check out past polls.

    Notices?