On Tue, 19 Feb 2002, Patrick Luby wrote:

> I was thinking that since all ServerSocket binding is that we could implement
> this as a static native method so that both Tomcat 3.x and 4.x could load the
> shared library and invoke the calls as close as possible to the actual point
> that a ServerSocket object binds to the socket. In Tomcat 4.x, I believe that
> this point is in the createSocket() method of each ServerSocketFactory class.
> 
> If you don't have time, let me know and I can try this later this week.


If you have the time, writing this code as part of j-t-c/jk/native2/jni 
would be great :-) There are many things still missing there, like in-process 
support for 4.x and build procedure for other platforms ( we have
ant-based support for libtool, win, netware - not sure if Mac supports 
libtool ).

It's better to write the native code using APR, it avoids all the ifdefs
and system specific code, and it's tested already in apache. 


Costin  





> BTW, I have access to Linux, Solaris, and Mac OS X machines (the latter from my
> last job porting StarOffice to Mac OS X). So let me know where I can help out as
> I am intimately familiar with the unique process of getting JNI code to link on
> Mac OS X.
> 
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to