Unix domain socket (AF_UNIX) support for Java sockets

Discussion in 'Java' started by Chris Markle, Apr 24, 2004.

  1. Chris Markle

    Chris Markle Guest

    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
     
    Chris Markle, Apr 24, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Didatus

    UNIX Domain Sockets

    Didatus, Aug 18, 2003, in forum: Perl
    Replies:
    1
    Views:
    1,556
  2. Stuart Clayman

    Java and Unix Domain sockets

    Stuart Clayman, Jul 10, 2003, in forum: Java
    Replies:
    2
    Views:
    974
    Marc Rochkind
    Jul 10, 2003
  3. Jamie Saker

    socket.makefile & AF_UNIX

    Jamie Saker, Dec 10, 2004, in forum: Python
    Replies:
    1
    Views:
    590
    Michael Fuhr
    Dec 10, 2004
  4. Jamie Saker

    Re: socket.makefile & AF_UNIX

    Jamie Saker, Dec 11, 2004, in forum: Python
    Replies:
    0
    Views:
    376
    Jamie Saker
    Dec 11, 2004
  5. gracemia

    AF_UNIX socket not supported

    gracemia, Feb 8, 2011, in forum: Python
    Replies:
    10
    Views:
    749
    Terry Reedy
    Feb 8, 2011
Loading...

Share This Page