필터 지우기
필터 지우기

tcpip client connection detecting server

조회 수: 2 (최근 30일)
Paul
Paul 2012년 6월 4일
Hi,
I have a MATLAB GUI which connectes as a client via TCP/IP from the instrument control toolbox to a server process, from which it gets asynchronous messages every so often.
If the server process closes its side of the connection, nothing seems to happen on the MATLAB side; the BytesAvailalableFcn callback isn't invoked, nor is the ErrorFcn callback.
Is there any way of detecting when this happens?
Thanks in advance, Paul.

답변 (0개)

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by