Ah, domain as opposed to internet sockets. Perhaps you could hack j-buds to support NIO or just use java.nio.SocketChannel on the loopback IP address. Do you really need NIO-specific features (i.e. non-blocking sockets)? If not, there's really no compelling reason to use NIO instead of the java.io/java.net classes.
Joined: Jan 12, 2005
This is on loopback. The reason for selecting unix domain sockets over TCP is that unix domain sockets are faster than TCP.
Also, I was hoping to poll a tcp-based connection and a unix domain socket connection with one call to poll(), instead of 2.
subject: does anyone know how to write an NIO provider?