Bonus:
If getpeername is called on the returned socket, [Errno 22] Invalid argument is raised, rather than errno.ENOTCONN, which is what asyncore expects. :)
Bonus:
If getpeername is called on the returned socket, [Errno 22] Invalid
argument is raised, rather than errno.ENOTCONN, which is what asyncore
expects. :)