twisted.internet.interfaces.IReactorUDP.listenUDP(port, protocol, interface='', maxPacketSize=8192) method documentationtwisted.internet.interfaces.IReactorUDP
          View Source
          
        
      Connects a given 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. | |