SourcePro : Essential Networking Module User’s Guide : PART II The Networking Package : Streams : Using Virtual Streams : Constructing a Binary Virtual Stream for Input from a Portal
Constructing a Binary Virtual Stream for Input from a Portal
Example 8 is similar to Example 7 except that it sets up a binary virtual stream for input from a portal.
Example 8 – Constructing a binary virtual stream for input from a portal
RWPortalStreambuf buf(portal);
RWbistream istrm(&buf);