Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Essential Networking Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWWinSockInfo

Module:  Essential Networking Module   Package:  Networking


Does not inherit

Local Index

Members

Header File

#include <rw/network/RWWinSockInfo.h>

Description

Initializes the Winsock DLL on Windows platforms. Initialization is required before your application can make requests of the Winsock API. Deregistration is required for applications that no longer need Winsock services.

Rogue Wave encourages all users to include this class in their code. While using this class does not affect the behavior of programs that run on UNIX, it does make them portable to Windows environments.


NOTE -- If you use Winsock.dll in a DLL, either directly or indirectly, you must initialize it. The fastest way to do this may be to create an instance of RWWinSockInfo in DllMain().

Public Constructors

RWWinSockInfo(short ver=0x0200);
RWWinSockInfo(FARPROC blockingHook);

Public Destructor

~RWWinSockInfo();

Public Member Functions

RWCString
getDescription() const;
int
getMajorVersion() const;
int
getMinorVersion() const;


Previous fileTop of DocumentContentsIndex pageNext file

© 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.