echo "hello" | nc -4t -w1 localhost 8001 TCP4: echo "hello" | nc -4t -w1 localhost 8001 UDP4: echo "hello" | nc -4u -w1 localhost 8001