Neil at CASoftware 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.

 

jBASE does not know thi because it does not know how you connected. The server that made the connection for you will set environment variables. Here are the ones for ssh:

SSH_CLIENT='10.0.1.200 35860 22'
SSH_CONNECTION='10.0.1.200 35860 10.0.1.2 22'

On jBASE windows telnet, I think it should set the telnet equivalents but I don;t use telnet any more so use the env command when logged in and check with Google.

Jim

--~--~---------~--~----~------------~-------~--~----~
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