Thanks Holger it was the latter of your answers in trying to get the ip
address of the interface.  Thanks I'm always amazed at the answers and how
simple. (make me feel like an idiot sometimes though :))

Paul Tretter

----- Original Message -----
From: "Holger Kruse" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 02, 2001 2:34 PM
Subject: [REBOL] Re: IDENT


> On Fri, Feb 02, 2001 at 01:54:46PM -0600, Paul Tretter wrote:
> >
> > I was wondering if there is a way to use REBOL to determine the ip
addresses currently connected to my local machine if its acting as a proxy.
I believe the answer is no but was interested how I might determine that or
another language that could do that and interface with REBOL by means of
exchange that data via a tcp port.
>
> Do you mean the IP address of the remote end of a connected TCP port ? You
can find that
> in port/remote-ip. The IP address of the local end of the connection is in
port/local-ip.
> Additionally there are port/remote-port and port/local-port for the port
numbers.
>
> Or are you trying to find the IP addresses assigned to the interfaces of
your machine ?
> With current experimentals try "get-modes udp:// 'interfaces". This
returns a block of
> objects that contain network configuration paramenters, including IP
addresses.
> Works with most operating systems (not with BeOS and Elate though).
>
> --
> Holger Kruse
> [EMAIL PROTECTED]
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to