Listen on specified port:

nc -l -v -k 8888

Connect via netcat:

nc -v google.com 80