Yes, it doesn't appear that Rebol has an ICMP
protocol handler. This is unfortunate because with
all of it's shortcomings, a ping is one of the most
useful network debugging tools (in my experience -
especially on a LAN).
This also points to a potentially larger problem in
that Rebol doesn't appear to handle any protocol
not based on TCP. And unfortunately you can't create
your own sockets (to do a ping you need a different
socket type than TCP) which means no UDP broadcasting/
multicasting, etc. can be done. This is one area
that I would like to see /Core improve on (and I would
really like to see it as /Core, NOT /Command). But yes,
you can use /Command to call into your own ping function
if you had to.
The fact that using ICMP might require superuser (admin)
priveleges is a user issue only and should not affect RT's
decision to implement it or other basic socket calls.
RT should note that not all machines (especially those
in the embedded controller world) have a TCP stack
installed and choose to use UDP instead (for various
reasons - speed, size, more control, etc.).
Rodney
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 22, 2000 9:31 AM
To: [EMAIL PROTECTED]
Subject: [REBOL] Ping Tool Re:
On Thu, 22 Jun 2000, you wrote:
> Hi to all you fellow Rebolians,
>
> I am new to Rebol as well as to Network-Programming. I need to develop a
> kind of Ping Tool to check which IP-adresses in our WAN are connected and
> get the adresses returned.
>
> 1 Q. How can i ping via TCP/IP with REBOL?
You cannot. Ping requires ICMP, and on many oeprating systems that requires
superuser (root) privileges.
> 2 Q. How can i retrieve the connected adresses?
If the machines are running any TCP services then try to connect to them.
--
Holger Kruse
[EMAIL PROTECTED]