✔️ TCP and UDP connections to a host from a client
✔️ connection involves a client and server
→ they can be on same or different computer
$ nc -lvp 8888
$ nc -v <address> <port to connect>
$ echo "hello" | nc -v <address> <port to connect>
$ cat sending.txt | nc -v <address> <port to connect>
$ nc -lvp 8888 > recieved.txt
🟥 server
$ nc -lvp <port> -e /bin/bash
🟦 client
$ nc -v <address> <port to connect>