class _IInputOutputSystem(Interface): (source)
Known implementations: twisted.pair.testing.MemoryIOSystem
twisted.pair.tuntap
-using code).Method | close |
|
Method | ioctl |
|
Method | open |
|
Method | read |
|
Method | receiveUDP |
Return a socket which can be used to receive datagrams sent to the given address. |
Method | sendUDP |
Send a datagram to a certain address. |
Method | write |
|
Attribute | O_CLOEXEC |
|
Attribute | O_NONBLOCK |
|
Attribute | O_RDWR |
Parameters | |
fileno:int | A file descriptor representing a tunnel device which the datagram was either sent via or will be received via. |
host:bytes | The IPv4 address at which the datagram will be received. |
port:int | The UDP port number at which the datagram will be received. |
Returns | |
A socket.socket which can be used to receive the specified datagram. |