FAQ
Hi folks!

How to receive a notification when a async_client is closed?

class AcmePopupChannel(asynchat.async_chat):
....
def handle_close(self):
print 'Closed channel'
def handle_error(self):
print 'Error in channel'

This seems not work for me.
Thanks!

Testa

Python 2.3.2 (#49, Oct 2 2003, 20:02:00) [MSC v.1200 32 bit (Intel)] on
win32

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedNov 12, '03 at 4:43p
activeNov 12, '03 at 4:43p
posts1
users1
websitepython.org

1 user in discussion

F.G.Testa: 1 post

People

Translate

site design / logo © 2022 Grokbase