![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.tcl archiveRe: Test host reachable
From: Ronnie Brunner <ronnie.brunner@netcetera.ch>
Date: Sun Feb 26 2006 - 19:18:34 CET
antoniofcano wrote:
You can always [exec ping] and check if that works, but it's probably
Why not just opening a socket to your local host on the correct port and
Something like (not nice code, as you want it to be configurable and to
if {[catch {set mysock [socket $host1 $port1]} msg]} {
hth
|