On Mon, 2008-04-21 at 09:03 +0200, Robert Schuster wrote: > Hi, > people using Jalimo asked for those methods and I found them simple to > implement. > > Since I am lousy non-Java hacker I appreciate comments on the code in > java_net_VMNetworkInterface.c.
I wonder if it would be simpler to only have one native method, returning the socket flags, and mapping the IFF_ defines in java/net/VMNetworkInterface so you could implement it in Java. But I don't know if the flags are consistent between different OS or even libc versions. - twisti