Re: [zeromq-dev] IPC communication between C and JAVA application

2013-01-28 Thread Federico Serale
I added socket.setLinger(0) but not changed anything. I realized that the problem is in the client because when I start the server I see that the file is created, but when I start the client the file is not modified. One way for this to happen is for the client to call socket.setLinger(0)

Re: [zeromq-dev] IPC communication between C and JAVA application

2013-01-28 Thread Ian Barber
On Mon, Jan 28, 2013 at 1:25 AM, Federico Serale federico.ser...@gmail.comwrote: I added socket.setLinger(0) but not changed anything. I realized that the problem is in the client because when I start the server I see that the file is created, but when I start the client the file is not

[zeromq-dev] IPC communication between C and JAVA application

2013-01-28 Thread Federico Serale
yes, they started by the same user ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] IPC communication between C and JAVA application

2013-01-27 Thread Federico Serale
i'm on a ubuntu OS and i am trying to make a communication between C and JAVA with IPC. i created a server In C, and this is the code: #include testutil.hpp #include stdio.h int main () { void *ctx = zmq_init (1); assert (ctx); void *sb = zmq_socket (ctx,

Re: [zeromq-dev] IPC communication between C and JAVA application

2013-01-27 Thread Joshua Tacoma
One way for this to happen is for the client to call socket.setLinger(0) before the call to socket.connect(). I see that's not what you're doing, but perhaps the default linger is 0 instead of -1 in your build environment? You could also `ls -l /tmp/test` while the server is running to check