F
F.G.Testa
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
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