I've got a box (lantronix 32 port terminal server) that takes serial ports and TCP'izes them so that one can telnet into the ip-port.
What I'd like to do is capture the datastream coming out of the ip-port, and pipe it into a binary to hex converter.
It seems this is something netcat can do (that is, use netcat instead of telnet so that stdout is generated), but I've only used netcat <--> netcat connections.
Is it possible to tell netcat to "go connect to this port on this ip and stream the data to stdout"? If so, what 's the syntax?
Secondly, is there a streaming binary to hexadecimal converter? What's it called?