Share this page

# Example: lrs_close_socket

In the following example, the lrs_close_socket statement closes a socket after a message was sent to the server. Socket 5 was accepted via socket 4, and 256 bytes were sent via socket 5.

    rc= lrs_accept_connection("socket4", "socket5");

    lrs_send("socket5", "buf0", 256, 0);

    lrs_close_socket("socket5");

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: