I wonder if there is an easy (not bloated) way to determine if connection to an IRC server is or isn't made within some amount of time (lets say 1-2 minutes)..
The idea is to monitor my own irc server and when it freezes (as it sometimes happens with Unrealircd3.2 and still there are no solutions to avoid it) to restart it.
I have a Tcl that generates network stats, etc. It contains code to check for timeouts, refused connections, etc. http://dawg.oc255.net:81/Split4.1.tar.gz. Feel free to use it as an example.