Package Peach :: Package Generators :: Module turn :: Class TurnRemoteAddressAttribute
[hide private]

Class TurnRemoteAddressAttribute

source code


REMOTE-ADDRESS

The REMOTE-ADDRESS is present in Data Indications. It specifies the address and port from which a packet was received. It is encoded in the same way as MAPPED-ADDRESS.

Instance Methods [hide private]
 
__init__(self, group, port, address, family=0x01) source code
Method Details [hide private]

__init__(self, group, port, address, family=0x01)
(Constructor)

source code 
Parameters:
  • group (Group) - Group to use
  • family (Generator) - Family (defaults to 0x01 IPV4)
  • port (Generator) - Port number
  • address (Generator) - 32bit IPv4 address