Microsoft Internet Security and Acceleration Server 2000

IFWXNetworkSocket::SetSockOpt Method

Sets a socket option.

HRESULT SetSockOpt(
  int level,
  int optname,
  char *optval,
  int optlen
);

Parameters

level
[in] Level at which the option is defined; the supported levels include SOL_SOCKET and IPPROTO_TCP.
optname
[in] Socket option for which the value is to be set.
optval
[in] A pointer to the buffer where the value for the requested option is supplied.
optlen
[in] Size, in bytes, of the optval buffer.

Remarks

This method is similar to the Winsock setsockopt function, which is described in MSDN.