PDA

View Full Version : [ubuntu] Need a bashscript for PING UDP



ngubk
September 27th, 2011, 06:31 PM
I wanna create a command that is quite similar to ping but via UDP.
Terminal command:
ping-udp < server address>:<port address> or ping-udp <server name>:<port address>

The return value must include RTT( round trip time).( should be similar to ping via icmp)
I'm pretty much a newbie at socket programming.
Thanks very much for any suggestion.

mutley89
September 27th, 2011, 07:05 PM
Try hping