
Module: Secure Communication Module Package: Secure Sockets
Global Macro
This macro is defined automatically when the Secure Sockets package determines that your application must explicitly seed the random number generator.
The seeding function call can be wrapped with this macro to aid in cross-platform software development.
For example, seed the RNG from the file seedfile.dat only if it is necessary:
#if defined (RW_SECSOCK_RNG_NEEDS_SEEDING)
RWSecureSocketPackageInit::seedRNGFromFile("seedfile.dat");
#endif
© 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.