Jerboa v0.2.0 Jerboa.Format.Body.Attribute.XORMappedAddress

XOR Mapped Address attribute as defined in the STUN RFC

Summary

Functions

Creates new address struct and fills address family based on passed IP address format

Types

t()
t() :: %Jerboa.Format.Body.Attribute.XORMappedAddress{address: :inet.ip_address, family: :ipv4 | :ipv6, port: :inet.port_number}

Functions

new(addr, port)
new(address :: :inet.ip_address, port :: :inet.port_number) :: t

Creates new address struct and fills address family based on passed IP address format