Open topic with navigation
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=220.127.116.11:21", LrsLastArg );