NetAddress
Engine/source/platform/platformNet.h
Generic network address.
Public Types
enum
Type { IPAddress IPV6Address IPBroadcastAddress IPV6MulticastAddress }
Acceptable NetAddress types.
Public Attributes
Public Functions
bool
isEqual(const NetAddress & other)
bool
isSameAddress(const NetAddress & other)
bool
isSameAddressAndPort(const NetAddress & other)
Detailed Description
Generic network address.
This is used to represent IP addresses.
Public Types
Type
Enumerator
- IPAddress
- IPV6Address
- IPBroadcastAddress
- IPV6MulticastAddress
Acceptable NetAddress types.
Public Attributes
union NetAddress::@135 address
struct NetAddress::@135::@136 ipv4
struct NetAddress::@135::@137 ipv6
struct NetAddress::@135::@138 ipv6_raw
U32 netFlow
U8 netFlow [4]
U8 netNum [4]
U32 netScope
U8 netScope [4]
U16 port
S32 type
Type of address (IPAddress currently)
Public Functions
getHash()
isEqual(const NetAddress & other)
isSameAddress(const NetAddress & other)
isSameAddressAndPort(const NetAddress & other)