how can i check client ip address using rmi?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   bhumika_patel
Posted On:   Tuesday, January 23, 2007 01:59 AM

MY question is
I have one screen in which client has to enter his password and use name.
Now I have to check when client is try to login and its first login is countiune. In this case i have to give msg from server to client that u r already login from this machine.

for that i have to store remote referance variable and also ip address of host machine into vector table.

How can i do it using rmi.

Please use html tags to format code blocks.

Re: how can i check client ip address using rmi?

Posted By:   Edward_Harned  
Posted On:   Tuesday, January 23, 2007 12:40 PM

There is an rmi Server method, getClientHost()


The method only returns the TCP EndPoint address of the host on which the client resides, not the actual client identification and this method is only available to pure Java (not RMI-IIOP or other plug-in) implementations.

About | Sitemap | Contact