users@grizzly.java.net

InetAddress of client?

From: Peter Speck <speck_at_vitality.dk>
Date: Thu, 5 Jul 2007 22:28:11 +0200

Hi,

> I've tried to get the client address using request.remoteAddr(),
> but it fails as
> request.remoteAddr().getByteChunk().getBuffer()
> returns null. When running using a debugger, it seems like
> DefaultProcessorTask.remoteAddr is never updated.
>
> The same problem with the client port number.
>
> Is this the wrong methods to call, or is this a bug?


I forgot: I'm using Grizzly 1.5.1 from the http bundle download.

java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)

----
    - Peter Speck