I am issuing the command:
netcat serveraddress myport < MY_FILE
The thing is, that netcat sends a message to close the connection once the file is sent. I need to write messages from the console after sending that file. I remember to have done something to pipileline to stdin.. was it this?
netcat serveraddress myport < MY_FILE |
That isn't working now.
I'm on unix.
Extra info: This did not assume control on server side (E.G. use netcat on serverside to listen for the inbound connection)