Network address for a system. More...
#include <RakNetTypes.h>
Public Member Functions | |
| SystemAddress () | |
| SystemAddress (const char *a, unsigned short b) | |
| SystemAddress (unsigned int a, unsigned short b) | |
| const char * | ToString (bool writePort=true) const |
| void | ToString (bool writePort, char *dest) const |
| void | SetBinaryAddress (const char *str) |
| SystemAddress & | operator= (const SystemAddress &input) |
| bool | operator== (const SystemAddress &right) const |
| bool | operator!= (const SystemAddress &right) const |
| bool | operator> (const SystemAddress &right) const |
| bool | operator< (const SystemAddress &right) const |
Static Public Member Functions | |
| static int | size () |
Public Attributes | |
| uint32_t | binaryAddress |
| The peer address from inet_addr. | |
| unsigned short | port |
| The port number. | |
| SystemIndex | systemIndex |
Network address for a system.
Corresponds to a network address
This is not necessarily a unique identifier. For example, if a system has both LAN and internet connections, the system may be identified by either one, depending on who is communicating
Use RakNetGUID for a unique per-instance of RakPeer to identify systems
Definition at line 68 of file RakNetTypes.h.
| SystemAddress::SystemAddress | ( | ) |
Definition at line 113 of file RakNetTypes.cpp.
| SystemAddress::SystemAddress | ( | const char * | a, | |
| unsigned short | b | |||
| ) | [explicit] |
| SystemAddress::SystemAddress | ( | unsigned int | a, | |
| unsigned short | b | |||
| ) | [explicit] |
Definition at line 115 of file RakNetTypes.cpp.
| bool SystemAddress::operator!= | ( | const SystemAddress & | right | ) | const |
Definition at line 63 of file RakNetTypes.cpp.
| bool SystemAddress::operator< | ( | const SystemAddress & | right | ) | const |
Definition at line 73 of file RakNetTypes.cpp.
| SystemAddress& SystemAddress::operator= | ( | const SystemAddress & | input | ) | [inline] |
Definition at line 95 of file RakNetTypes.h.
| bool SystemAddress::operator== | ( | const SystemAddress & | right | ) | const |
Definition at line 58 of file RakNetTypes.cpp.
| bool SystemAddress::operator> | ( | const SystemAddress & | right | ) | const |
Definition at line 68 of file RakNetTypes.cpp.
| void SystemAddress::SetBinaryAddress | ( | const char * | str | ) |
Definition at line 119 of file RakNetTypes.cpp.


| static int SystemAddress::size | ( | ) | [inline, static] |
| const char * SystemAddress::ToString | ( | bool | writePort = true |
) | const |
| void SystemAddress::ToString | ( | bool | writePort, | |
| char * | dest | |||
| ) | const |
The peer address from inet_addr.
Definition at line 75 of file RakNetTypes.h.
| unsigned short SystemAddress::port |
The port number.
Definition at line 77 of file RakNetTypes.h.
Definition at line 79 of file RakNetTypes.h.
1.7.1