Example: lrs_disable_socket

In the following example, the lrs_disable_socket function disables all send and receive operations for Socket 2.

lrs_send("socket2", "buf28", LrsLastArg);
lrs_receive("socket2", "buf29", LrsLastArg);
lrs_disable_socket("socket2", DISABLE_SEND_RECV);
lrs_close_socket("socket2");