I write out the command:
netcat serveraddress myport < MY_FILE
The fact is that netcat sends a message to close the connection after sending the file. I need to write messages from the console after sending this file. I remember that I did something that could be used for stdin .. was it?
netcat serveraddress myport < MY_FILE |
This does not work now.
I am on unix.
Additional information: this did not imply server-side control (EG use netcat on the server to listen for an incoming connection)
source share