You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Lorenz Breu <br...@hot-shot.com> on 2008/10/21 11:02:52 UTC

[APR transport] recvfrom() vs recvFrom()

I think I found the problem. The Socket class in tomcat.jni specifies
recvFrom() whereas the native network.c implements recvfrom() (all
lowercase). Changing the java method name and rebuilding tomcat removed
the UnsatisfiedLink error (I mentioned this on the tomcat dev list...),
and I now also get the correct IP address back, however the port field
is not updated by recvfrom()...

Re: [APR transport] recvfrom() vs recvFrom()

Posted by Mladen Turk <mt...@apache.org>.
Lorenz Breu wrote:
> I think I found the problem. The Socket class in tomcat.jni specifies
> recvFrom() whereas the native network.c implements recvfrom() (all
> lowercase). Changing the java method name and rebuilding tomcat removed
> the UnsatisfiedLink error (I mentioned this on the tomcat dev list...),
> and I now also get the correct IP address back, however the port field
> is not updated by recvfrom()...
> 

Like already said on the tomcat-dev list...
Fixed as r706574 in trunk.
Next release will include the fix (should be tagged pretty soon)

Thanks for spotting that typo!

Regards
-- 
^(TM)