On 28/Sep/2009 06:26, Regis wrote: > It's a little sad it will break VME. I thought two ways to fix this: > > 1. add new parameter long[] to writev, which contains native address of > direct buffer, but the parameters will be a little long. > > 2. wrap native address to Long which can be filled in Object[], but this > may need reflections to get each value of Long. > > Both of them are not so good....
I think we should just raise a bug report to fix the VME. The exception raised was confusing though, java.net.SocketException: (10038) An operation was attempted on something that is not a socket. Perhaps we do need some more error checking in the native code to cover these cases so it reports an internal error or something. It might also be worth refactoring the code so that the majority is shared, with just the OS calls moved out to the platform specific directories. Regards, Tim