Unix domain socket (AF_UNIX) support for Java sockets

C

Chris Markle

Hi all,

Java doesn't support AF_UNIX (Unix domain sockets) in their socket
implementation as far as I can tell. Sun has an RFE (4145756) logged against
Java that notes: "The existing java socket model is far too specific to IP
and there is no straight forward way to use a UNIX domain socket (or a
Windows named pipe) in the existing system. As far as I can tell we need a
greater degree of abstraction for the concept of a socket address so that a
socket can be created for IP or another domain either explicitly or simply
by the type of the address, e.g. [ ... ] A socket implementation factory
could be choosen based on the type of address." Does anyone know of / have
code that supports AF_UNIX for Java sockets?

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top