[zeromq-dev] C examples do not work on my PC, either with ipc or tcp, except ipc with server & client executed in the same console

Mikko Koppanen mikko.koppanen at gmail.com
Wed Jun 26 18:55:34 CEST 2013


On Wed, Jun 26, 2013 at 9:06 PM, Laurent Alebarde <l.alebarde at free.fr>wrote:

>
> console server :
> $ ./flserver1 ipc://test.ipc &
> [1] 17822
> $ I: echo service is ready at ipc://test.ipc
>

ipc://test.ipc is a relative path. If you working directory is not the same
then IPC pipe would be created in different directories. Try using absolute
path such as ipc:///tmp/test.ipc (notice three slashes, two for protocol
and one starting the path.)

-- 
Mikko Koppanen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130627/b2d8bd2b/attachment.htm>


More information about the zeromq-dev mailing list