![]() |
libzmq
master
ZeroMQ C++ Core Engine (LIBZMQ)
|
Go to the source code of this file.
Functions | |
int | main (void) |
void | pre_allocate_sock (void *zmq_socket, const char *path) |
void | test_client_server () |
void | test_pair () |
void | test_req_rep () |
int main | ( | void | ) |
Definition at line 207 of file test_use_fd_ipc.cpp.
References setup_test_environment(), test_client_server(), test_pair(), and test_req_rep().
void pre_allocate_sock | ( | void * | zmq_socket, |
const char * | path | ||
) |
Definition at line 36 of file test_use_fd_ipc.cpp.
References bind, zmq_setsockopt(), and ZMQ_USE_FD.
Referenced by test_client_server(), test_pair(), and test_req_rep().
void test_client_server | ( | ) |
Definition at line 125 of file test_use_fd_ipc.cpp.
References pre_allocate_sock(), zmq_bind(), ZMQ_CLIENT, zmq_close(), zmq_connect(), zmq_ctx_new(), zmq_ctx_term(), zmq_msg_close(), zmq_msg_data(), zmq_msg_init(), zmq_msg_init_size(), zmq_msg_recv(), zmq_msg_routing_id(), zmq_msg_send(), zmq_msg_set_routing_id(), ZMQ_SERVER, ZMQ_SNDMORE, and zmq_socket().
Referenced by main().
void test_pair | ( | ) |
Definition at line 92 of file test_use_fd_ipc.cpp.
References bounce(), pre_allocate_sock(), zmq_bind(), zmq_close(), zmq_connect(), zmq_ctx_new(), zmq_ctx_term(), ZMQ_PAIR, and zmq_socket().
Referenced by main().
void test_req_rep | ( | ) |
Definition at line 59 of file test_use_fd_ipc.cpp.
References bounce(), pre_allocate_sock(), zmq_bind(), zmq_close(), zmq_connect(), zmq_ctx_new(), zmq_ctx_term(), ZMQ_REP, ZMQ_REQ, and zmq_socket().
Referenced by main().