Version of http://mbed.org/cookbook/NetServicesTribute with setting set the same for LPC2368
Dependents: UDPSocketExample 24LCxx_I2CApp WeatherPlatform_pachube HvZServerLib ... more
Host Class Reference
Host information container. More...
#include <host.h>
Public Member Functions | |
| Host () | |
| Initiliazes host with null values. | |
| Host (const IpAddr &ip, const int &port, const char *name="") | |
| Initializes host. | |
| const IpAddr & | getIp () const |
| Returns IP address. | |
| const int & | getPort () const |
| Returns port number. | |
| const char * | getName () const |
| Returns host name. | |
| void | setIp (const IpAddr &ip) |
| Sets IP address. | |
| void | setPort (int port) |
| Sets port number. | |
| void | setName (const char *name) |
| Sets host name. | |
Detailed Description
Host information container.
This class is a container for data relative to a connection:
- IP Address
- Port number
- Host Name
Definition at line 37 of file host.h.
Constructor & Destructor Documentation
Member Function Documentation
Generated on Tue Jul 12 2022 14:29:28 by
1.7.2
Simon Ford