Monday, June 22, 2020

MacOS: How to test netcat

Source: How To Use Netcat to Establish and Test TCP and UDP Connections on a VPS
Terminal #1:
[jerome@jeroboam] > nc -l 4444
Terminal #2:
[jerome@jeroboam] > nc localhost 4444
toto

Then terminal #1 will display toto as well.