Interface t.i.i.IReactorUDP(Interface):

Part of twisted.internet.interfaces View Source View In Hierarchy

Known implementations: twisted.internet.default.PosixReactorBase, twisted.internet.iocpreactor.proactor.Proactor

UDP socket methods.

IMPORTANT: This is an experimental new interface. It may change without backwards compatability. Suggestions are welcome.
Method listenUDP Connects a given DatagramProtocol to the given numeric UDP port.
Method connectUDP DEPRECATED.
def listenUDP(port, protocol, interface='', maxPacketSize=8192): (source)
Connects a given DatagramProtocol to the given numeric UDP port.
Returnsobject which provides IListeningPort.
def connectUDP(remotehost, remoteport, protocol, localport=0, interface='', maxPacketSize=8192): (source)

DEPRECATED.

Connects a twisted.internet.protocol.ConnectedDatagramProtocol instance to a UDP port.
API Documentation for twisted, generated by pydoctor.