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

[REBOL] Re: just "ping"

From: g:santilli:tiscalinet:it at: 16-Aug-2002 13:41

Hi Ken, On Friday, August 16, 2002, 9:10:47 AM, you wrote: KC> That's all I want, for now. It's not in the library, it's not built in, KC> and it's not in any examples in the docs, unless I'm missing something? 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. KC> want to be able to enter an ip address, and see if I can get an echo response KC> (or anything similar) from that machine. Both TCP and UDP provide standard echo ports. That service is usually disabled on most servers (for obvious reasons), but servers will have ICMP 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
KC> Is that too much to ask rebol to do? Well, you've got the ping command, what is reinventing the wheel useful for? <evil grin> ;-) Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r