Home | All Classes | Grouped Classes | Index | Search
Socket name; container class for an IP address and port. More...
Derived from:
none
Derived by:
none
Group: Network (Sockets)
#include <ClanLib/network.h>
Construction:
Constructs an IP address using INADDR_ANY and port 0. |
Attributes:
Returns the internal addrinfo struct | |
Returns the IP address as a string. | |
Returns the IP port as a string. | |
Returns true if objects are the same. | |
Returns true if the other address is less. | |
Returns true if the other address is greater. |
Operations:
Set the IP address using a hostname and port. | |
Set the IP port. Note, this will reset the hostname to the default value of any host. | |
Do a DNS lookup on the IP address. | |
Check to see if the address has an IPv4 mapping is_ipv4() and is_ipv6() are not mutally exclusive An address can have both IPv4 and IPv6 mappings | |
Check to see if the address has an IPv6 mapping is_ipv4() and is_ipv6() are not mutally exclusive An address can have both IPv4 and IPv6 mappings |
Detailed description:
!group=Network/Sockets! !header=network.h!