Example: lrs_receive

In the following example, the lrs_receive function connects to Socket 1 and reads the incoming message from buf 2.

lrs_send("socket1", "buf2", 40, 0);
lrs_receive("socket1", "buf2", LrsLastArg);
lrs_close_socket("socket1");