DOS: Send a Message to a Listening Port via MATLAB
이전 댓글 표시
I am running win7. Not a "pure" mathlab question, but I hope someone can help.
I have a third party application running on my machine. It is listening on port X for the message "STOP", which will cause the 3rd party app to shut down.
I wish to use system.m to pass this message to the app. How can I do this? I suspect this requires knowing the correct command line inputs.
thank you
채택된 답변
추가 답변 (2개)
Jan
2012년 4월 25일
0 개 추천
There are several TCP/IP communication programs in the FEX: FEX: Search TCPIP. This is not the system command, but they can send a message to a specific port.
Walter Roberson
2012년 4월 25일
0 개 추천
http://nmap.org/ncat/ which is a reboot of the older netcat program.
카테고리
도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!