Part of twisted.internet.interfaces View Source View In Hierarchy
Known implementations: twisted.internet.iocpreactor.reactor.IOCPReactor
Method | listenUDP | Connects a given DatagramProtocol
to the given numeric UDP port. |
DatagramProtocol
to the given numeric UDP port.Parameters | port | A port number on which to listen. (type: int ) |
protocol | A DatagramProtocol
instance which will be connected to the given port . (type: DatagramProtocol ) | |
interface | The local IPv4 or IPv6 address to which to bind; defaults to '', ie all
IPv4 addresses. (type: str ) | |
maxPacketSize | The maximum packet size to accept. (type: int ) | |
Returns | object which provides IListeningPort . |