Reputation: 1670
I want to create communication between two Java daemons which are hosted on one Operating system. Is there a technology similar to socket pairs like UNIX domain socket(local domain socket) in Java.
Upvotes: 0
Views: 67
Reputation: 13535
UNIX Domain Socket in Java tells that UNIX domain sockets are not available from java directly. But you can use TCP sockets (even within the same JVM). Then, if one daemon process is launched from another, they can connect by System.in and System.out.
Upvotes: 1