getsockopt

#include <wsvv.h>

int PASCAL FAR getsockopt(s, level, optname, optval, optlen)
SOCKET s; /* socket from which to retrieve option */
int
level; /* level at which option is defined */
int
optname; /* option to retrieve */
char FAR *
optval; /* pointer to buffer to receive value */
int FAR *
optlen; /* pointer to length of buffer */

Retrieve a socket option.

Addendum

Two options have been added. VVSO_MODE indicates the current mode: VVM_VOICE, VVM_SEND, or VVM_RECV. VVSO_BYTESPENDING indicates how many bytes are waiting in the queue to be sent.

See Also

setsockopt, socket, WSAAsyncSelect