Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

RE: TCP/IP

by Anonymous Monk
on Apr 05, 2000 at 23:38 UTC ( [id://6960]=note: print w/replies, xml ) Need Help??


in reply to TCP/IP

When I run your code on a linux box, the child process catches a SIGPIPE after telnet exits *and* it tries to subsequently write to the socket:
broken pipe at ././test-server2 line 50 main::SELFREAP('PIPE') called at ././test-server2 line 85 main::__ANON__() called at ././test-server2 line 121 main::spawn('CODE(0x80cdb14)') called at ././test-server2 line + 96 broken pipe at ././test-server2 line 50 main::SELFREAP('PIPE') called at ././test-server2 line 0 ././test-server2 9192: reaped 9761 with exit 7424 at Wed Apr 5 12:23: +32 2000
What platform are you running on. Trying to write to a closed socket should definitely generate a SIGPIPE.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-25 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found