Well, this may be irrelevant, but you might want to have a look at Network Duplex speed testhttp://www.perlmonks.org/index.pl?node_id=284640 where ping is used to check on connections. Just a thought.
Melora
Comment on Re: Remote TCP Port Connection Monitoring