Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: POE: How can I detect server closed my connection?

by rcaputo (Chaplain)
on Jul 19, 2011 at 15:07 UTC ( [id://915486]=note: print w/replies, xml ) Need Help??


in reply to POE: How can I detect server closed my connection?

You are not handling ErrorEvent from your POE::Wheel::ReadWrite objects. EOF from the remote endpoint is reported as read error 0. Other errors may occur, such as ECONNRESET (Connection reset by peer).

Sorry we missed you on irc.perl.org #poe. It was 5:45AM, and I was asleep. :)

  • Comment on Re: POE: How can I detect server closed my connection?

Replies are listed 'Best First'.
Re^2: POE: How can I detect server closed my connection?
by woosley (Beadle) on Jul 20, 2011 at 04:58 UTC

    Apparently we are in the different time zone~~~ it was afternoon at that time for me :)

    ErrorEvent is what I want, thanks for the help.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-19 13:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found