In article <slrnabj0ru.rf.mlh at vier.idi.ntnu.no>, Magnus Lie Hetland wrote: [snip] After anohter glance at the asyncore API, it seems that simply overriding handle_close to do some extra cleanup is just what I need. Thanks for your help anyway :) -- Magnus Lie Hetland The Anygui Project http://hetland.org http://anygui.org