Module: Secure Communication Module Package: Secure Sockets
Global Function
#include <rw/secsock/RWSecureSocketAttribute.h>
Waits for a socket attribute in the list to become true. Throws an RWSecureSocketInvalidSocketError exception when a secure socket in an attribute is invalid. This function operates on the TCP socket underlying the SSL/TLS connection. As a result, you may receive unexpected results. Please see Section 5.11.3, "Using rwSecureSocketSelect," in the Secure Communication Module User's Guide for more information.
There are two variations on this function. One blocks indefinitely. The other blocks for a specified time, before timing out.
RWTValOrderedVector<RWSecureSocketAttribute> rwSecureSocketSelect (const RWTValOrderedVector<RWSecureSocketAttribute>& attributes);
Can block indefinitely.
RWTValOrderedVector<RWSecureSocketAttribute> rwSecureSocketSelect (const RWTValOrderedVector<RWSecureSocketAttribute>&, double timeout);
Blocks for no more than timeout seconds.
© 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.