TCP ping & UDP ping

2013-09-16 16:41
for TCP pings it is :

watch -n 5 "nmap -P0 -sT -p5666 somehostname.dyndns.org"

for UDP pings it is almost the same:

watch -n 5 "nmap -P0 -sU -p5666 somehostname.dyndns.org"