Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Network Addressing

The network address classes. More...

Classes

class  ss::ipv6_address
 Improved sockaddr_in6. More...
class  ss::ipv4_address
 Improved sockaddr_in. More...
class  ss::local_address
 Local address class. More...

Detailed Description

The network address classes.

Features of the address classes:

Using an address class:

 ipv4_address address(ipv4_address::any, htons(80));
 int socket = ::socket(AF_INET, SOCK_STREAM, 0);
 ::bind(socket, &address, sizeof(address)):

Interacting with the Network Listener module:

 ipv4_address address(ipv4_address::any, htons(80));
 listener l(sockets_base::ipv4);
 l.bind(address);

Generated on Sat May 21 21:25:46 2005 for Socket Streams Library by  doxygen 1.4.3