MATLAB: DOS: Send a Message to a Listening Port via MATLAB

system.m

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

Best Answer

telnet via system.m
Related Question