#include <XPSocket.h>
Public Member Functions | |
XPAddress (std::string addr) | |
XPAddress (const int port, unsigned char addr1, unsigned char addr2, unsigned char addr3, unsigned char addr4) | |
XPAddress () | |
std::string | Export (void) |
Public Attributes | |
int | port |
unsigned char | addr [4] |
|
ctor that accepts a std::string in the form xx.xx.xx.xx:xx and converts it to an address |
|
ctor for XPAddress that allows the structure to be constructed in a C++ fashion |
|
default ctor, all members are left alone |
|
Exports the XPAddress as a std::string
|
|
The IP addr for this structure |
|
The port number for this address |