I'd do getRemoteAddr, other wise you'd have to convert the name to an ip when users try to login (everytime). Both of them return Strings (I was incorrect about the java.net.InetAddress, that's what happens when I talk prior to looking), so unless you want to incurr the cpu and io required to convert a String host name to an ip address you'd be better off using the getRemoteAddr.
Also, it's getRemoteAddr not GetRemoteAddr, if you try the latter you'll get compile errors. --mikej -=----- mike jackson [EMAIL PROTECTED] > -----Original Message----- > From: Walid Mohammed [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 30, 2002 4:12 PM > To: [EMAIL PROTECTED] > Subject: Re:Need Hel plz > > > > > > But what the difference between GetRemoteAddr() and > GetRemoteHost() ,and > which will be better in my case [ login access ] > > thanks for help .. > > > > Walid Al-Abbadi > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
