![]() |
||||||||
|
|
||||||||
Public Member Functions | |
| eZCom_HostnameResult | checkHostname () |
| Check if async hostname resolution finished. | |
| const char * | getAddressHostname () const |
| Returns the previously set hostname in a static buffer. | |
| const char * | getAddressIP (eZCom_GetIPAddressOption _with_port=eZCom_AddressWithPort) const |
| Returns string representation of IP-address in a static buffer. | |
| zU8 | getControlID (void) const |
| Get control ID. | |
| zU8 | getIP (zU8 _pos) const |
| Get IP components separately. | |
| zU32 | getIP (void) const |
| Get IP as one 32bit value. | |
| zU16 | getPort (void) const |
| Get port. | |
| eZCom_AddressType | getType (void) const |
| Get type. | |
| ZCom_Address & | operator= (const ZCom_Address &_s) |
| Assignment. | |
| bool | operator== (const ZCom_Address &_c) const |
| Compare 2 addresses. | |
| bool | resolveHostname (bool _async, zU32 _timeout) |
| Resolve previously set hostname to IP address. | |
| bool | setAddress (eZCom_AddressType _type, zU8 _control_id, const char *_addr) |
| Set IP and port from string representation. | |
| void | setControlID (zU8 _id) |
| Set control id. | |
| void | setIP (zU32 _ip) |
| Set IP address (host byte order). | |
| void | setIP (zU8 _a, zU8 _b, zU8 _c, zU8 _d) |
| Set IP address. | |
| void | setPort (zU16 _port) |
| Set port. | |
| void | setType (eZCom_AddressType _type) |
| Set type. | |
| const char * | toString () const |
| Get string representation of address. | |
| ZCom_Address (const ZCom_Address &) | |
| Copy constructor. | |
| ZCom_Address (void) | |
| Constructor. | |
| ~ZCom_Address (void) | |
| Destructor. | |
|
|
Constructor.
|
|
|
Copy constructor.
|
|
|
Destructor.
|
|
||||||||||||||||
|
Set IP and port from string representation.
|
|
|
Returns string representation of IP-address in a static buffer.
|
|
|
Returns the previously set hostname in a static buffer.
|
|
|
Get string representation of address.
This function is threadsafe. |
|
||||||||||||||||||||
|
Set IP address.
|
|
|
Set IP address (host byte order).
|
|
|
Set port.
|
|
|
Set type.
|
|
|
Set control id.
|
|
|
Get port.
|
|
|
Get IP as one 32bit value.
|
|
|
Get IP components separately.
|
|
|
Get type.
|
|
|
Get control ID.
|
|
|
Compare 2 addresses.
|
|
|
Assignment.
|
|
||||||||||||
|
Resolve previously set hostname to IP address.
|
|
|
Check if async hostname resolution finished.
|
1.4.6-NO