Non-standard socket options?
Matthew Hall
mhall at mhcomputing.net
Thu May 9 14:11:22 PDT 2013
On Thu, May 09, 2013 at 01:49:02PM -0700, Brian Call wrote:
> Is there any way to make use of a non-standard socket option in Java? Having
> spoken with Neil Horman lead networking developer over at Red Hat, he
> mentioned that by passing in the socket option IP_MULTICAST_ALL with a value
> of '0' it will disable UDP multiplexing on Linux when bound to the wildcard
> address. This would definitely be the hot move...
Brian,
That option is very new and non-standard so it doesn't appear anywhere in the JDK code.
I think you'll have to make a native library, and use this method:
http://stackoverflow.com/questions/11455803/most-efficient-way-to-pass-java-socket-file-descriptor-to-c-binary-file
Matthew.
More information about the net-dev
mailing list