Microsoft Internet Security and Acceleration Server 2000

IFWXNetworkSocket::GetSockOpt Method

Gets a socket option.

HRESULT GetSockOpt(
  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 in which the value for the requested option is supplied.
optlen
[in, out] Size, in bytes, of the optval buffer.

Remarks

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