Blimey Dan, you have a good memory J

 

Yes, I remember asking the questions but I was hoping that there was
something new that I knew nothing about.

 

And again, yes, my next question is for the Client Machine Name.  Another
GETENV I hope?

 

Regards,

 

Neil.

 

From: [email protected] [mailto:[email protected]] On Behalf Of
Daniel Klein
Sent: 27 May 2009 19:30
To: [email protected]
Subject: Re: How do I find the IP address of the session in BASIC?

 

Neil,

 

How soon we forget. You sent this question to devsup in 2002. At the time we
provided you with a way to get both the IP address AND the machine name.

 

I see that other's have provided the GETENV() solution. 

 

Another way would be to execute 'ipconfig' and parse the output.

 

Do you need to obtain the machine name?

 

Dan

 

On Wed, May 27, 2009 at 12:56 PM, Neil at CASoftware <[email protected]>
wrote:

jBASE 4.1.6.8

Windows XP-PRO

 

How can I find the IP Address of the terminal/Telnet session I am on in
jBASE 4.1 from within a BASIC routine?  I have looked through the SYSTEM
items and I can see the computer name in SYSTEM(52) but no IP address
anywhere.  I have looked in the DEV directory for the port in the PROC file
but I can't see it there either.

 

Regards,

 

Neil Charrington

C.A. Software Systems

 

 

 




--~--~---------~--~----~------------~-------~--~----~
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to