client ip address

January 26th, 2007 - 09:41 am ET by Ramon Niese | Report spam
Hi,

I need to use the client ip from the terminal in a script. How can I
retrieve this client ip?
I see some tools such as gettscip but that isn't what I want to use. Is
there a way to retrieve this via scripting?

Ramon
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 Bernhard Schmidt
February 03rd, 2007 - 07:18 am ET | Report spam
Ramon Niese schrieb:
Hi,

I need to use the client ip from the terminal in a script. How can I
retrieve this client ip?
I see some tools such as gettscip but that isn't what I want to use. Is
there a way to retrieve this via scripting?

Ramon





Hi Ramon,

there's an environment variable called "CLIENTNAME" containing the
computer name of your client pc, shouldn't be a problem to address your
client this way, if you really need the ip address resolving can be done
with the common tools

regards,

bernhard

Similar topics