how to disconnect tcp/ip connection?
92 views (last 30 days)
Jae-Hee Park on 24 Nov 2021
I made tcp/ip server and client like this
server = tcpserver('0.0.0.0',111);
and another app
cli = tcpclient('localhost',111);
It is perfectly connected.
So, how to disconnect TCP/IP form client?
and how to disconnect from server?
Harikrishnan Balachandran Nair on 3 Dec 2021
You can close the TCP/IP connection by clearing the 'tcpclient' object using the 'clear' function .
Please refer to the following documentations to get a better idea on this :
Hope this helps!