Skip to main content

Timeline for How to use Netcat

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Jun 11, 2015 at 22:31 history edited Chris Davies CC BY-SA 3.0
How did I forget to protect the read from IFS? Sigh.
Jun 11, 2015 at 16:31 comment added Chris Davies @Jeff answer updated to incorporate the new information
Jun 11, 2015 at 16:30 history edited Chris Davies CC BY-SA 3.0
Incorporated update from question into answer
Jun 11, 2015 at 12:06 comment added Chris Davies @Jeff you have a file containing several lines, one line per HL7 message? Or several files each containing one message? Or something different? You didn't mention this in your Question so please update it, and then I can update my Answer to support your new information.
Jun 11, 2015 at 11:30 comment added Jeff I tried while :; do echo HL7.txt | nc -vvv localhost 10004; sleep 3; done because I have the different HL7 messages in this file but it sends HL7.txt not what's inside. To verify this I sent it to another port and listened on this port. Each HL7 message is different but is separated by a space so I am hoping to send each individually and in a loop.
Jun 10, 2015 at 22:50 history answered Chris Davies CC BY-SA 3.0