class documentation
class MyProtocol:
Constructor: MyProtocol(expecting)
Implements interfaces: twisted.pair.raw.IRawDatagramProtocol
Undocumented
Method | __init__ |
Undocumented |
Method | add |
Add a protocol on top of this one. |
Method | datagram |
An IP datagram has been received. Parse and process it. |
Instance Variable | expecting |
Undocumented |
def datagramReceived(self, data:
bytes
, partial: int
, source: str
, dest: str
, protocol: int
, version: int
, ihl: int
, tos: int
, tot_len: int
, fragment_id: int
, fragment_offset: int
, dont_fragment: int
, more_fragments: int
, ttl: int
):
¶
An IP datagram has been received. Parse and process it.