We help IT Professionals succeed at work.

Unix domain sockets AF_UNIX on Linux - JNI??

rstaveley
rstaveley asked
on
Medium Priority
1,011 Views
Last Modified: 2013-11-23
I need my Java application to connect to a Unix domain socket AF_UNIX on Linux. [No it really is not TCP/IP, before you ask :-) ]

Is there a JNI implementation anyone can recommend for this? I am using Sun5 JVM - if that makes any difference.
Comment
Watch Question

I believe you need to use JNI. Its not implemented on SDK.

Author

Commented:
I was wondering if there was an "off the shelf" JNI library for this, or if I'd need to write my own.

Author

Commented:
I just had to confront doing this and happily it wasn't very difficult in the event.