Send/ recieve TCP ASCII commands

...or you can do it via applescript in a custom module, it has been done before