36 const char *ep =
"tipc://{5560,0,0}";
37 const char *name =
"tipc://{5560,0}@0.0.0";
39 fprintf (stderr,
"unbind endpoint test running...\n");
56 rc =
zmq_recv (pull, buf,
sizeof (buf), 0);
68 assert (rc == -1 &&
zmq_errno () == EAGAIN);
80 fprintf (stderr,
"disconnect endpoint test running...\n");
98 rc =
zmq_recv (pull, buf,
sizeof (buf), 0);
109 assert (rc == -1 &&
zmq_errno () == EAGAIN);
void msleep(int milliseconds)
ZMQ_EXPORT int zmq_unbind(void *s, const char *addr)
ZMQ_EXPORT void * zmq_init(int io_threads)
ZMQ_EXPORT int zmq_recv(void *s, void *buf, size_t len, int flags)
ZMQ_EXPORT int zmq_errno(void)
ZMQ_EXPORT void * zmq_socket(void *, int type)
ZMQ_EXPORT int zmq_connect(void *s, const char *addr)
ZMQ_EXPORT int zmq_close(void *s)
ZMQ_EXPORT int zmq_send(void *s, const void *buf, size_t len, int flags)
ZMQ_EXPORT int zmq_bind(void *s, const char *addr)
ZMQ_EXPORT int zmq_ctx_term(void *context)
ZMQ_EXPORT int zmq_disconnect(void *s, const char *addr)