InetAddress of client?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

InetAddress of client?

Peter Speck
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]