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

IDENT

 [1/5] from: ptretter:norcom2000 at: 2-Feb-2001 13:54


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. Paul Tretter

 [2/5] from: petr::krenzelok::trz::cz at: 2-Feb-2001 21:32


----- Original Message ----- From: Paul Tretter <[ptretter--norcom2000--com]> To: <[rebol-list--rebol--com]> Sent: Friday, February 02, 2001 8:54 PM Subject: [REBOL] IDENT
> 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. Why it should be impossible? What about port/remote-ip and port/remote-port items? Cheers, -pekr-

 [3/5] from: holger:rebol at: 2-Feb-2001 12:34


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 [holger--rebol--com]

 [4/5] from: ptretter:norcom2000 at: 2-Feb-2001 14:57


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" <[holger--rebol--com]> To: <[rebol-list--rebol--com]> 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.

 [5/5] from: al:bri:xtra at: 3-Feb-2001 10:27


Paul mentioned:
> (make me feel like an idiot sometimes though :))
You're only an idiot if you _don't_ ask questions. Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/