sudo nc -ulk 0.0.0.0 10002

Bind to port 10002 (explicitly specify to listen on all interfaces), and listen for UDP data.

sudo netstat -anp | grep 10002

List all processes bound to port 10002

echo "hello world" | sudo nc -u -w1 10.48.20.184 10002

Sends “hello world” over UDP to 10.48.20.184 on port 10002

openssl s_client -connect ottawa-pro-2:3303

Initiate TCP connection and attempt SSL/TLS handshake