ecdavis/pants — Issue #28: Datagram should switch to listening mode when data is written
Author: ecdavis
Created: 2012-01-15 00:36:39+00:00
State: open

SOCK_DGRAM sockets automatically bind to a local address when data is written to them. Pants should alter its state to reflect this by setting _listening to True and updating events (if necessary) either directly before a call to sendto() or directly after. Not sure which.