Network<ToolKit>


Sockets are bidirectional communication mechanisms that provide communication between processes, even if these processes are located on different machines. Network<ToolKit> is ideal for building either Internet- or Intranet-based client/server applications. Network<ToolKit> supports both of the following kinds of sockets including most of the standard socket options.

When writing socket-based applications, a server must often monitor more than one socket object. For example, the Internet daemon, inetd , accepts connections on one of many known sockets and creates an appropriate child process type to handle an incoming connection on a particular socket. The I/O multiplexer class addresses this monitoring problem by allowing a process to wait until an interesting condition occurs on one or more of the sockets the process is monitoring.

Network<ToolKit> contains a set of classes that provides the following functionality.

This chapter describes the functionality provided in Network<ToolKit> including socket and I/O multiplexing programming examples. Refer to IO<ToolKit> for additional information on general I/O behaviors of sockets.

Summary of Classes

ip_address

socket_address

host

service

Binding Sockets

tcp_socket, tcp_connection_server

udp_socket

Using Streaming<ToolKit> with a TCP Socket

io_multiplexer


Copyright©1994-2026 Recursion Software LLC
All Rights Reserved - For use by licensed users only.