Microsoft Internet Security and Acceleration Server 2004 SDK |
The CreateNetworkSocket method creates a TCP/IP socket that is associated with this session.
HRESULT CreateNetworkSocket( INT Protocol, IFWXNetworkSocket** piSocket );
Value | Meaning |
---|---|
FWX_PROTOCOL_TCP | The method will create a TCP socket. |
FWX_PROTOCOL_UDP | The method will create a UDP socket. |
The socket created by this method is user specific, and obeys the policy rules for the session. Connections are logged as if they were performed by the session's user.
To create a socket that is not user specific, use IFWXFirewall::CreateNetworkSocket.
Server: Requires Windows Server 2003 or
Windows 2000.
Version: Requires Internet Security and Acceleration
Server 2004.
Header: Declared in Wspfwext.idl.