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

[REBOL] Re: just "ping"; now "psst"

From: acmetech:sonic at: 22-Aug-2002 14:39

Okay, thanks Tom, Gabrielle, Sunanda, Petr. I finally understand that ping and traceroute are ICMP animals (sometimes with UDP added), and icmp doesn't specify ports. Per my research of the list archives, rt's not interested in rebol being used on a net for diagnostics, or at least not with ICMP and unix root rights. Meanwhile, I'll have to continue to generate (rebol-readable) report files with my windows icmp and dos kludges, or do a port-open or other kludge on other hosts. I'll probably eventually have to cross firewalls and overcome nat somehow, too --Ken. At 12:33 PM 8/20/02 -0700, you wrote:
>Hi Ken, > >If you know a port is open on a machine you can assume it is doen if you >cannot connect, you dont need any response beyond that a connection is >possible. > >maybe these will help > >>> either error? try[port: open/no-wait tcp://rebol.com:80] > ["ahrgg"][close port "ping!"] >== "ping!" > >(with a bad/closed port number) >>> either error? try[port: open/no-wait tcp://rebol.com:0] > ["ahrgg"][close port "ping!"] >== "ahrgg" > >>> either error? try[port: open/no-wait tcp://whatever.com:80] > ["ahggg"][close port "ping!"] >== "ahggg" > >>> either error? try[port: open/no-wait tcp://www.whatever.com:80] > ["ahggg"][close port "ping!"] >== "ping!"
____________________________ ____________________________ Ah, you hate Microsoft too! So comrade, ven do vee plan to defect?