Microsoft Internet Security and Acceleration Server 2004 SDK |
The Accept method asynchronously permits a connection on a listening socket. This method is similar to the Winsock accept function.
HRESULT Accept( IFWXAcceptCompletion* pIFWXAcceptCompletion, UserContextType UserData );
This method returns S_OK if the call is successful; otherwise, it returns an error code.
For an IFWXNetworkSocket interface created by a call to IFWXFirewall2::CreateSSLNetworkSocket, this method returns E_NOTIMPL.
The UserData parameter provides a context to the notification. You can use the same notification interface for receiving completion notifications from different network socket objects and differentiate between them by using different values for UserData.
Server: Requires Windows Server 2003 or
Windows 2000.
Version: Requires Internet Security and Acceleration
Server 2004.
Header: Declared in Wspfwext.idl.