tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Francois Arcand <jfarc...@apache.org>
Subject Re: How can I get Client Remote port?
Date Wed, 07 May 2003 00:40:03 GMT
Unfortunaly,

you will have to uses Tomcat 5 for doing such thing. This functionality 
has been added to the Servlet 2.4 API (Request.getRemotePort). Sockets 
are internal to Tomcat and will never be available for application.

-- Jeanfrancois

Jesse_Perez@candle.com wrote:

>Using Tomcat 4.1.24, I've written a Filter servlet and need a way to get
>the remote ports of client requests.
>If I can get access to the "Socket" instance I can accomplish this.
>
>Any suggestion are appreciated.
>
>     Jesse Perez
>     Candle Corp
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message