how to disconnect tcp/ip connection?
68 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jae-Hee Park
el 24 de Nov. de 2021
Comentada: Eric Delgado
el 24 de Jun. de 2022
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?
0 comentarios
Respuesta aceptada
Harikrishnan Balachandran Nair
el 3 de Dic. de 2021
Hi,
Please refer to the following documentations to get a better idea on this :
Hope this helps!
5 comentarios
Eric Delgado
el 24 de Jun. de 2022
I was dealing with the same issue, using appDesigner and create a handle (property of my app) to a tcpclient object. The new solution was the "old solution" (used in "tcpip" objects).
delete(app.client)
clear app.client
The validation isa(app.client,'tcpclient') as true is not a problem at all. You can create other tcpclient object and handling this object in "app.client".
Más respuestas (0)
Ver también
Categorías
Más información sobre Import and Integrate Requirements en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!