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

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

Known implementations: twisted.internet.iocpreactor.reactor.IOCPReactor, twisted.internet.posixbase.PosixReactorBase

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 at 2011-10-27 15:57:47.