def __init__(self, port, proto, interface='', maxPacketSize=8192,
                 reactor=None):
        self.port = port
        self.protocol = proto
        self.readBufferSize = maxPacketSize
        self.interface = interface
        self.setLogStr()
        self._connectedAddr = None

        abstract.FileHandle.__init__(self, reactor)

        skt = socket.socket(self.addressFamily, self.socketType)
        addrLen = _iocp.maxAddrLen(skt.fileno())
        self.addressBuffer = _iocp.AllocateReadBuffer(addrLen)
        # WSARecvFrom takes an int
        self.addressLengthBuffer = _iocp.AllocateReadBuffer(
                struct.calcsize('i'))
Initialize with a numeric port to listen on.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/iocpreactor/udp.py/Port.__init__