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
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