Share this page

# Example: lrs_accept_connection

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 */

    lrs_accept_connection("socket4", "socket5");

     /* send(): Send to socket 5 */

    lrs_send ("socket5", "buf5", "TargetSocket=199.203.77.246:21", LrsLastArg );

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: