Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Ping / Trace route in REBOL.

From: sunandadh:aol at: 15-Nov-2002 4:24

> I was hunting around the net today and couldn't sem to find any examples of > a ping tool for rebol - is this a 'missing feature' like someone quoted in > 2001 that was left out on purpose?
A similar question was asked by in August -- search the archives for subject ping for the whole thread. A couple of quick summaries: <petr> Forget ping - we were said it requires root access on Unix, so it is not in-there. Many ppl requested it. I thought that Rebol could check for rights somehow, but I can't know Rebol internals of course. Or just buy /Pro version and use shell access to call it. </petr> <gabrielle> The ICMP protocol is not a user protocol, so REBOL does not handle it; if you want more detailed reasons, or just want to complain about it, please contact RT. Both TCP and UDP provide standard echo ports. That service is usually disabled on most servers (for obvious reasons), but servers will have IMP echo disabled too in most cases; so, you may want to try something like:
>> port: open/no-wait tcp://target.machine:7 >> insert port "PING" >> copy port
== "PING"
>> close port
</gabrielle> Sunanda.