![]() |
libzmq master
The Intelligent Transport Layer
|
#include <assert.h>
#include <string.h>
#include <pthread.h>
#include <stdio.h>
#include "../include/zmq.h"
#include "../include/zmq_utils.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
void * | worker (void *ctx) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 47 of file test_timeo.cpp.
References worker(), zmq_bind(), zmq_close(), zmq_connect(), ZMQ_DONTWAIT, zmq_errno(), zmq_init(), ZMQ_PULL, ZMQ_PUSH, ZMQ_RCVTIMEO, zmq_recv(), zmq_send(), zmq_setsockopt(), ZMQ_SNDTIMEO, zmq_socket(), zmq_stopwatch_start(), zmq_stopwatch_stop(), and zmq_term().
void* worker | ( | void * | ctx | ) |
Definition at line 31 of file test_timeo.cpp.
References zmq_close(), zmq_connect(), ZMQ_PUSH, zmq_sleep(), and zmq_socket().
Referenced by main().