[zeromq-dev] Problem with IPC transport on Java binding

gonzalo diethelm gdiethelm at dcv.cl
Tue Feb 12 14:29:55 CET 2013

The socket name is of the form "ipc://<a_file_name>". If you want to use an IPC socket that can be found by different processes, you should name it using an absolute path, so that <a_file_name> could be, for example, "/tmp/service.topic". Therefore, the full socket name should be "ipc:///tmp/service.topic" (notice the THREE slashes).

Otherwise, the socket is looked for under the current directory, which, in all likelihood, is different for the C and Java processes.

Good luck.

Gonzalo Diethelm
DCV Chile

> -----Original Message-----
> From: zeromq-dev-bounces at lists.zeromq.org [mailto:zeromq-dev-
> bounces at lists.zeromq.org] On Behalf Of Joe Lin
> Sent: Monday, February 11, 2013 9:53 PM
> To: zeromq-dev at lists.zeromq.org
> Subject: [zeromq-dev] Problem with IPC transport on Java binding
> Hi,
> I'm using ZeroMq 3.3.2 between a C and Java process on CentOS 6.2. The
> transport of using local tcp socket works fine. But it does not work for ipc
> transport such as "ipc://service.topic". Java side cannot receive/send via the
> ipc transport. Does the Java binding support ipc transport at all?
> Thanks.
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Declaración de confidencialidad: Este Mensaje esta destinado para
el uso de la o las personas o entidades a quien ha sido dirigido y
puede contener información reservada y confidencial que no puede
ser divulgada, difundida, ni aprovechada en forma alguna. El uso no
autorizado de la información contenida en este correo podrá ser
sancionado de conformidad con la ley chilena. 
Si usted ha recibido este correo electrónico por error, le pedimos
eliminarlo junto con los archivos adjuntos y avisar inmediatamente
al remitente, respondiendo este mensaje. 

"Before printing this e-mail think if is really necesary".
Disclosure: This Message is to be used by the individual,
individuals or entities that it is addressed to and may include
private and confidential information that may not be disclosed,
made public nor used in any way at all. Unauthorized use of the
information in this electronic mail message may be subject to the
penalties set forth by Chilean law. 
If you have received this electronic mail message in error, we ask
you to destroy the message and its attached file(s) and to
immediately notify the sender by answering this message. 

More information about the zeromq-dev mailing list