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
I assume you're talking about RL-TCPnet and ARM.
"I have not found a function to close the connection..."
What about the function tcp_close ?
http://www.keil.com/support/man/docs/rlarm/rlarm_tcp_close.htm
Yes, i'm talking about RL-TCPnet and ARM.
I thought the function closes the TCP socket. I had not seen that if a host was connected to the socket, the first tcp_closed() closed connection and the second tcp_closed() closed socket.
thank you for your help.