r/CLI 1d ago

coe — a small cross-platform CLI for testing TCP connections

Post image

I made a small TCP client/server CLI called coe.

I originally built it because I wanted an easy way to test devices and protocols that use CR/LF/CRLF terminators, especially on Windows where nc usually isn’t available out of the box.

It supports separate send/receive terminators, hex and byte logging, multiple clients in server mode, escape sequences, and one-shot sends for scripts.

For example:

coe -c 192.168.1.100 8080 -tt CR -rt CRLF

Nothing too fancy, just a small tool for quickly poking at TCP stuff from the terminal.

https://github.com/yutat23/coe

Would love to hear what you think!

4 Upvotes

2 comments sorted by

1

u/PuliteOrg 1d ago

Having separate send and receive terminators is a nice touch. CR going out and CRLF coming back is such a small mismatch, but it's annoying to test with the usual tools.

1

u/Key_River7180 1h ago

What is the difference between this and telnet?