#include <network.h>
Public Member Functions | |
TCPIPAddress (UInt32 addr=INADDR_ANY, UInt16 prt=0) | |
Constructor. | |
bool | operator== (const TCPIPAddress &o) const |
Equality operator. | |
bool | operator< (const TCPIPAddress &o) const |
Less than operator. | |
std::string | format () const |
Return string form. | |
bool | valid () const |
Is the address valid? | |
Public Attributes | |
UInt32 | address |
IP Address. | |
UInt16 | port |
TCP Port. |
|
IP Address. Stored in local byte order. |
|
TCP Port. Stored in local byte order. |