RWPortalIStream and RWPortalOstream are Communication Services Layer classes that use the RWPortal interface. RWSecureSocketPortal inherits from RWPortal, so instances of RWSecureSocketPortal can be used anywhere that an RWPortal is required.
RWSecureSocketContext context; context.prepareToAuthenticate(...); // initalize the context RWInetAddr addr(...); // initalize an address RWSecureSocketPortal portal(addr, context); // create the portal RWPortalOstream strm(portal); strm << "Hello World!" << endl;
© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.