I am trying to use netcat to send a simple message over TCP, e.g. I want to send the digit 1.
So I understood that I write the following in the terminal, after installing netcat
netcat [ip-address] [port]
But how do I specify the message to be sent? i.e. where to I write "1"
?