This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Closed the connection to a remote host in TCP

Hi,

I have not found a function to close the connection to a remote host to TCP server, but I will not stop the server, only the connection.

My problem is when you unplug the cable, I have to wait the timeout period set in the function tcp_get_socket(). I create a function that detects the cable unplugged. Now I want to just close the connection and not close the socket.

someone has an idea?
thanks
JB

0