Socket name; container class for an IP address and port. More...
Derived from: | None |
Derived by: | None |
Group: | Sockets (Network) |
#include <ClanLib/network.h>
Class Members:
Construction: | |
Constructs a new socket name. |
| |
Returns the address part of the socket name. | |
Returns the port part of the socket name. | |
Returns true if objects are the same. | |
Returns true if the other address is less. | |
Returns true if the other address is greater. |
| |
Set the socket name using a hostname and port. | |
Set the IP address. | |
Set the IP port. | |
Perform a DNS lookup, if needed, for the IP v4 address. | |
Perform a DNS lookup, if needed, for the hostname. | |
Create socket name that uses the IP v4 address as its address. | |
Create socket name that uses the hostname as its address. | |
Fill the socket name into a C sockets sockaddr structure. | |
Get the socket name from a C sockets sockaddr structure. |