Communiction with ZeroMQ (zmq)

All development related discussions that does not concern a specific programming language. For example, JSON data format, server communication etc.

Communiction with ZeroMQ (zmq)

Postby dschreij » 29 Jun 2014, 11:48

I'm planning to write my own TET client in Python, but my question could be relevant for all platforms. I'd like to use ZeroMQ (or 0mq) as my layer of communication between the client application and the EyeTribe server (http://en.wikipedia.org/wiki/%C3%98MQ). zmq is a cross-platform/cross-language library for communication which offers a lot of benefits on top of standard TCP protocols and is also more robust for that matter (e.g. has built-in error handling/checking, doesn't go haywire when the socket connection is lost, reconnects when necessary, etc.). In my experience, it is much easier to use than standard socket libraries!

Even though it is possible for zmq to connect to traditional TCP sockets and just work with those (I just haven't found out how yet), do you think you might add native zmq support in the future? Or is there anyone who has managed to connect to the EyeTribe tracker using zmq? When I make a connection or send a message I see the LEDs of the tracker light up, but I am not receiving anything back to my messages (which does happen if I communicate through a normal socket).
dschreij
 
Posts: 2
Joined: 23 Jun 2014, 10:40

Return to General