Hi, I just committed it, it's compiling, a bit working, but it's not really for production usage (or any usage actually :D).Trustin is going to refactor AbstractIoProcessor
The APR goal is to be portable on Unix and non Unix OSes, so there is no Unix Domain socket :( Perhaps a great idea whould be a to produce IOPrcessor working with a homemade library using epoll for achieving great perfs on linux for TCP, UDP, files, serial, Unix Domain Socket, Audio, pipes , whatever I/O using a file descriptor :) Or if APR perfs are goods, adding Unix Domain support to APR. Julien On Wed, 19 Sep 2007 10:51:31 -0400 Mark <[EMAIL PROTECTED]> wrote: > Julien, > > I just saw that the APR code you wrote is in the trunk. Let me know > if you want to try and get it to support Unix Domain Sockets if it > does not already. > > Thanks. > > > On 9/14/07, Julien Vermillard <[EMAIL PROTECTED]> wrote: > > > > On Thu, 13 Sep 2007 13:02:25 -0400 > > Mark <[EMAIL PROTECTED]> wrote: > > > > > I am looking to write a provider that performs NIO on a Unix > > > Domain Socket. This would be used to communicate between JVMs on > > > the same box and do it in a way that is faster than TCP. > > > > > > > Hi Mark, > > > > My APR based connector is starting purring. TCP & UDP are supported > > (I think SCTP too but I made no test). Perhaps I can force/modify > > APR for supporting Unix domain socket. Unix socket can be very > > usefull too for communication between a C prog and a Java one, but > > I'm not sure nowadays loopback UDP is really slower than Unix > > sockets. > > > > Julien > >