On Thu, 03 Feb 2000, you wrote:
> Has any one done a version of 'Ping' for Rebol?

The problem with ping is that it requires access to raw sockets, and on many
operating systems (including Unix) this requires superuser privileges, so the
REBOL binary would have to be run by root or with setuid root.

> Any way I want to 'ping' my machine from my wifes, if it
> gets a response then I want to configure her machine one
> way, if no response then use Dial Up Networking on her
> machine.
> 
> Is there a way to do this with out running a special server
> on my machine?

You don't need *special* servers,  just *some* server to connect to.
You could e.g. install an ftp server and try to connect to it (using
tcp://), and see if you get a response.

> For that matter can the MODEM sharing thing be done using
> Rebol?

There are two ways to do modem sharing, one is to use IP-NAT (IP
masquerading). This requires support in the TCP/IP kernel, i.e. you
cannot use REBOL for it.

The other way to do this is to write a proxy server, either a SOCKS
proxy (works with a lot of software) or a CERN (generic) proxy (only
works with some protocols, e.g. ftp and http). Both types of proxy
servers are ordinary "user-land" TCP-based servers, i.e. you could
use REBOL to implement them.

--
Holger Kruse
[EMAIL PROTECTED]

Reply via email to