Tony Gedge added the comment:
If it's true that asyncore doesn't support UDP, I'd suggest at least a
statement to this effect in the documentation. As far as I can see, there's
nothing to suggest it won't work with UDP.
--
_
New submission from Tony Gedge:
Sending a zero-length UDP packet to asyncore closes socket by default.
The default implementation of recv() assumes that zero-length data means close.
This isn't true for UDP - it is possible to send a zero-length payload packet.
A possible work-around