This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create an UDP server using nc on port 11090 | |
nc -ul 11090 | |
# check whether an UDP server is listening on 11190 | |
nc -vz -u <hostname> 11090 | |
# send a packet to the UDP server | |
echo -n "hello" | nc -4u -w1 <hostname> 1118 |