Server TCP

nc -lv PORT

Client TCP

nc -v IPADRESSE PORT

Server UDP

nc -luv PORT

Client UDP

nc -vu IPADRESSE PORT