handler_stream


The os_handler_stream class contains an unbounded os_tcp_socket object member. The TCP socket object returned by tcp_socket() method can be used either on the accept side of a server socket or on the connect side of a client socket. It is typically used in implementing service handler classes for the os_tcp_acceptor , os_tcp_connector , and os_dispatcher classes.

For an example that illustrates how the os_handler_stream class would be used, refer to the acceptor1s.cpp example in the os_tcp_acceptor , os_tcp_connector section of this chapter.


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