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)
Perhaps you were doing:
cat MY_FILE - | ncat ...
(Note that I've intentionally mispelled netcat, because I believe ncat
is a superior program.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With