| Description | The udp_close function closes the UDP socket identified in the function argument. After calling the udp_close function, the UDP socket cannot send or receive any data packet. The udp_close function is in the RL-TCPnet library. The prototype is defined in rtl.h. note - After closing the UDP socket, you can reopen it using the udp_open function.
- The UDP socket still reserves memory after calling the udp_close function. Hence, if you do not need the socket, you must release the memory using the udp_release_socket function after calling udp_close.
|