The syntax for GETENV is X = GETENV('JBC_CLIENT_IP',Var) where X is a
return code and VAR is the returned value.

 

 

From: [email protected] [mailto:[email protected]] On Behalf
Of Neil at CASoftware
Sent: Wednesday, May 27, 2009 1:50 PM
To: [email protected]
Subject: RE: How do I find the IP address of the session in BASIC?

 

Thanks Dan, I tried:

 

Var=GETENV('JBC_CLIENT_IP') but Var is empty.

 

Best regards,

 

Neil.

 

From: [email protected] [mailto:[email protected]] On Behalf
Of Dan Ell
Sent: 27 May 2009 18:17
To: [email protected]
Subject: RE: How do I find the IP address of the session in BASIC?

 

JBC_CLIENT_IP should be set

 

From: [email protected] [mailto:[email protected]] On Behalf
Of Neil at CASoftware
Sent: Wednesday, May 27, 2009 12:56 PM
To: [email protected]
Subject: How do I find the IP address of the session in BASIC?

 

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