I am sending text commands to a custom protocol TCP server. In the example below I send 2 commands and receive a response written back. It works as expected in telnet and netcat: $ nc 192.168.1.18…
https://stackoverflow.com/questions/21130757/send-commands-to-socket-using-netcat