How do I use Unix domain sockets from Java/Scala?

What's the best way of using Unix domain sockets from Scala?

I've found a Java library called JUDS, but it doesn't appear to allow me to send file descriptors over the socket --- the reason I want to use Unix domain sockets in the first place.

The JUDS readme refers to a competing library called J-BUDS, but I cannot find this anywhere.

I could add the feature to JUDS myself, but I'd rather I'd rather not reinvent the wheel if it's already in a jar file elsewhere.

6
задан Aaron Novstrup 3 May 2011 в 01:16
поделиться