Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #29899

Re: java unix domain sockets ... or substitute

From Fredrik Jonson <fredrik@jonson.org>
Newsgroups comp.lang.java.programmer
Subject Re: java unix domain sockets ... or substitute
Date 2014-09-04 07:42 +0000
Message-ID <slrnm0g5vt.ek1.fredrik@biggles.jonson.org> (permalink)
References <slrnm0ejqn.fp3.avl@login.logic.tuwien.ac.at> <FkINv.112212$Rp.98491@fx23.iad>

Show all headers | View raw


Wayne wrote:
>  On 9/3/2014 1:26 PM, Andreas Leitgeb wrote:
>
> > I wonder, if there is [...] a way to negotiate a bidirectional channel
> > between a client and the server that doesn't involve creating pipe nodes
> > in the filesystem.
> > 
> > The client is non-Java, but otherwise quite flexible.
> > 
> > I don't want to use inet sockets (not even localhost), because not every
> > user on that machine should be able to connect, and I don't want to
> > stick any authorization stuff into the protocol.
> 
>  A simpler solution may be to use ZeroMQ:
>  <http://zeromq.org/bindings:java>

Zeromq does not solve the OP:s original problem. Yes, Zeromq provides
non-socket based in process communication in the native (c language)
implementation. But if you want to use Zeromq to communicate between
separate processes you need to add connectors that use ordinary internet
sockets or domain sockets.

Note that the pure java implementation of ZeroMQ even routes in process
communication (ipc://) over tcp sockets internally.

https://github.com/zeromq/jeromq

-- 
Fredrik Jonson

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

java unix domain sockets ... or substitute Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-09-03 17:26 +0000
  Re: java unix domain sockets ... or substitute Wayne <nospam@all.invalid> - 2014-09-03 13:36 -0400
    Re: java unix domain sockets ... or substitute Fredrik Jonson <fredrik@jonson.org> - 2014-09-04 07:42 +0000
    Re: java unix domain sockets ... or substitute Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-09-04 07:52 +0000
  Re: java unix domain sockets ... or substitute Josip Almasi <joe@vrspace.org> - 2014-09-04 09:45 +0200
    Re: java unix domain sockets ... or substitute Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-09-04 09:14 +0000
      Re: java unix domain sockets ... or substitute Josip Almasi <joe@vrspace.org> - 2014-09-05 10:20 +0200
  Re: java unix domain sockets ... or substitute Fredrik Jonson <fredrik@jonson.org> - 2014-09-04 08:34 +0000
    Re: java unix domain sockets ... or substitute Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-09-05 01:06 +0000
  Re: java unix domain sockets ... or substitute Nigel Wade <nmw@ion.le.ac.uk> - 2014-09-04 11:35 +0100
  Re: java unix domain sockets ... or substitute "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-09-04 15:11 +0100
    Re: java unix domain sockets ... or substitute Nigel Wade <nmw@ion.le.ac.uk> - 2014-09-04 15:57 +0100
      Re: java unix domain sockets ... or substitute "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-09-04 16:21 +0100
        Re: java unix domain sockets ... or substitute Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-09-05 10:55 +0000
  Re: java unix domain sockets ... or substitute (SOLVED) Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-09-05 00:53 +0000
    Re: java unix domain sockets ... or substitute (SOLVED) Josip Almasi <joe@vrspace.org> - 2014-09-05 10:23 +0200

csiph-web