users@grizzly.java.net

Re: InetAddress of client?

From: Peter Speck <speck_at_vitality.dk>
Date: Fri, 6 Jul 2007 12:08:26 +0200

On 05/07/2007, at 22:37, Jeanfrancois Arcand wrote:

> You need to execute something like the following in you Adapter code:
>
> req.action(ActionCode.ACTION_REQ_HOST_ADDR_ATTRIBUTE,null);
>
> before invoking remoteAddr() as this value is lazily evaluated. Try
> it and let me know if it works.

Yes, that helped a lot. Thanks!

----
    - Peter Speck