Salut,
buzz lightyear wrote:
>
> Hi
>
> I'm converting a tcp server to grizzy 2 and I have the following code
> that I need to embed in a FilterAdapter, but I can't work out how to get
> the remote hostname/address from the FilterChainContext
>
>
> /**
> * @return address of remote host
> */
> public String getRemoteAddr() {
> return socket.getInetAddress().getHostName() + " ("
> + socket.getInetAddress().getHostAddress() + ")";
> }
>
> Any suggestions?
I think this is missing right now but it should be pretty simple to add.
Which version are you using? Alexey correct me if I'm wrong :-)
A+
--Jeanfrancois
>
> Thanks
> Nick
>
> ------------------------------------------------------------------------
> Get the New Internet Explore 8 Optimised for MSN. Download Now
> <http://extras.uk.msn.com/internet-explorer-8/?ocid=T010MSN07A0716U>