or download this
#!/usr/bin/perl -w
# udpmsg - send a message to the udpquotd server
...
# or maybe not even alive. Because recv is a blocking system call that
+
# may not return, we wrap it in the standard eval block construct
# for timing out a blocking operation.