JNI/Win32 SOCKET help
Posted on 2003-03-27
I'm encountering a problem when I try to use a C DLL that has a Win32 SOCKET object. When I open and close a connection within one JNI method call, it works fine. But when I open a connection in one JNI call and close on a different JNI call, the JVM is crashes. This is the error that I get:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x102141EB
Does anybody know what the problem is, and what possible solutions/work-arounds there are?