dbTalk Databases Forums  

How to get ip address of client ?

comp.databases.informix comp.databases.informix


Discuss How to get ip address of client ? in the comp.databases.informix forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
smitin@gmail.com
 
Posts: n/a

Default How to get ip address of client ? - 12-30-2005 , 02:59 PM






Hi guys,
is there any way to obtain ip address (not a symbolic name) directly
from server ? onstat -g ntt returns symbolic name, onstat -g dmp <hex
addr> netsch_t - the same. Any ideas ?


Reply With Quote
  #2  
Old   
Thomas Ronayne
 
Posts: n/a

Default Re: How to get ip address of client ? - 12-30-2005 , 03:15 PM






smitin (AT) gmail (DOT) com wrote:
Quote:
Hi guys,
is there any way to obtain ip address (not a symbolic name) directly
from server ? onstat -g ntt returns symbolic name, onstat -g dmp <hex
addr> netsch_t - the same. Any ideas ?


uname -n symbolic_name, perhaps...

--
Everything works -- if you let it.


Reply With Quote
  #3  
Old   
smitin@gmail.com
 
Posts: n/a

Default Re: How to get ip address of client ? - 12-30-2005 , 06:58 PM



Ok, I forgot to mention "ip address of a client" in the body of my
message. If I know session id, and I want to get ip address for that
session - how to do that ?


Reply With Quote
  #4  
Old   
Paul Watson
 
Posts: n/a

Default Re: How to get ip address of client ? - 12-30-2005 , 07:53 PM



If the ip doesn't resolve to a name then the number given in onstat -g
ses (?) is the Hex Ip address

smitin (AT) gmail (DOT) com wrote:

Quote:
Ok, I forgot to mention "ip address of a client" in the body of my
message. If I know session id, and I want to get ip address for that
session - how to do that ?

Paul Watson




Reply With Quote
  #5  
Old   
Doug Lawry
 
Posts: n/a

Default Re: How to get ip address of client ? - 01-03-2006 , 12:39 PM



Indeed. See:

http://groups.google.com/group/comp....f37ba67f599234

--
Regards,
Doug Lawry
www.douglawry.webhop.org


"Paul Watson" <paul (AT) oninit (DOT) com> wrote

Quote:
If the ip doesn't resolve to a name then the number given in onstat -g
ses (?) is the Hex Ip address

smitin (AT) gmail (DOT) com wrote:

Ok, I forgot to mention "ip address of a client" in the body of my
message. If I know session id, and I want to get ip address for that
session - how to do that ?


Paul Watson



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.