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)