Socat
Post

Socat

Client Mode

socat - TCP4:<server ip>:<port>

Server Mode

Ports below 1024 require sudo/root permissions

socat TCP4-LISTEN:<port> STDOUT