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::net at: 19-Aug-2002 21:31

Thanks Gabriel. Sorry everybody... I'm just a wannabe programmer frustrated at my own foibles. In response to pekr's point about no-can-do because of no root access on unix (?), I'll just concede that ping is not what I need. I'll call it "hey", "yo", "rebyo", "boo", "reboo", "psst", "ying", "zing", "pang", "rebkiss", or something. All I really want is to see an echo, or any other response from a live host. This doesn't work for me:
>>> port: open/no-wait tcp://target.machine:7 >>> insert port "PING" >>> copy port >== "PING" >>> close port
I get several seconds of nothing, then Cannot connect to (whatever). For (whatever), I've tried different IPs, domain names, localhost, other ports besides 7, and udp instead of tcp. But ping works <se grin>, and I can get a connection and response in rebol using pop: open/lines tcp://mypopserver.com:110 I'll figure this out if it kills me, or I'll take it to the beginner's rebol group. Sorry for buggin' y'all. Then I'll put psst.r in the library if/when I'm done, and when I can get it to log the up/down status of a list of hosts. (Presently I'm doing this with ping in klever.net's BigBrother, DOS find, redirected batch file output, and various file concatenations. Yuk!) --Ken. ____________________________ ____________________________ Ah, you hate Microsoft too! So comrade, ven do vee plan to defect?