How can I send a byte (or bytes) to test a socket listening in my application? [closed] How can I send a byte (or bytes) to test a socket listening in my application? [closed] linux linux

How can I send a byte (or bytes) to test a socket listening in my application? [closed]


You should not be using telnet for this.

Better option is to use netcat.

Then, pipe your command through bash

EG.

echo -n 0x03 | nc 127.0.0.1 1234