lrs_disable_socket

Example: lrs_disable_socketSockets Functions

Disables an operation for a socket.

int lrs_disable_socket( char *s_desc, int operation );
s_desc A descriptor identifying a socket.
operation The operation to disable: SEND, RECEIVE, SEND-RECEIVE.

The lrs_disable_socket function disables an operation for a socket. The operation to disable is specified with the operation argument. To disable receiving data, pass DISABLE_RECV as the operation . To disable sending data, pass DISABLE_SEND. To disable all activity, pass DISABLE_SEND_RECV.

This function is recorded during a Windows Socket session.

Return Values

Windows Sockets Return Values

Parameterization

You cannot use standard parameterization for any arguments in this function.