In the following example, socket four is established to listen to an incoming connection. The lrs_accept_connection function creates a new socket (socket five) to accept the connection and send data to the server.
/* accept(): socket 5 accepted via socket 4 */
/* send(): Send to socket 5 */
lrs_send ("socket5", "buf5", "TargetSocket=126.96.36.199:21", LrsLastArg );