Streaming<ToolKit>
Text Streams


Streaming<ToolKit> includes a text streaming facility that deals with a variety of I/O devices, including files, pipes, and sockets, as though these devices are ANSI/ISO IOStreams. For example, you can use this facility to write formatted text to a socket with operator<< and to read formatted text from a socket with operator>>.

The examples in this chapter use the I/O device os_tcp_socket . Refer to Network<ToolKit> for more information on sockets.

This chapter is not intended to serve as a reference manual for ANSI/ISO IOStreams, but is intended to illustrate the use of Streaming<ToolKit> text streams in conjunction with device adapters. Refer to your compiler's documentation for more information about ANSI/ISO IOStreams.

The remainder of this chapter describes how to construct and use text streams in your programs.

Summary of Classes

tstream

Text Stream States


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