HRESULT SetSockOpt( [in] int level, [in] int optname, [in] CHAR* optval, [in] int optlen );
Level (type of socket) for which the option is defined. The supported levels include SOL_SOCKET and IPPROTO_TCP.
Socket option for which the value is to be set.
Pointer to the buffer in which the value for the requested option is supplied.
Size, in bytes, of the optval buffer.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
|Server||Requires Windows Server 2008.|
|Version||Requires Forefront Threat Management Gateway (TMG).|
Declared in Wspfwext.idl.
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.