Thursday, May 21, 2015

Netcat Example

On terminal 1: nc -l 4444 (and post some messages)

On terminal 2: nc localhost 4444 (to view the posted messages)


guess nc needs to replaced with netcat on different OS. I've used nc on Mac.

Please refer below link for more details.
https://www.digitalocean.com/community/tutorials/how-to-use-netcat-to-establish-and-test-tcp-and-udp-connections-on-a-vps

No comments:

Post a Comment