![]() |
libzmq
master
ZeroMQ C++ Core Engine (LIBZMQ)
|
#include "testutil.hpp"
Go to the source code of this file.
Functions | |
int | main () |
void | test_change_after_connected () |
void | test_change_before_connected () |
void | test_decrease_when_full () |
Variables | |
const int | MAX_SENDS = 10000 |
int main | ( | void | ) |
Definition at line 169 of file test_sockopt_hwm.cpp.
References test_change_after_connected(), test_change_before_connected(), and test_decrease_when_full().
void test_change_after_connected | ( | ) |
Definition at line 68 of file test_sockopt_hwm.cpp.
References zmq_bind(), zmq_close(), zmq_connect(), zmq_ctx_new(), zmq_ctx_term(), ZMQ_DONTWAIT, zmq_getsockopt(), ZMQ_PULL, ZMQ_PUSH, ZMQ_RCVHWM, zmq_send(), zmq_setsockopt(), ZMQ_SNDHWM, and zmq_socket().
Referenced by main().
void test_change_before_connected | ( | ) |
Definition at line 34 of file test_sockopt_hwm.cpp.
References zmq_bind(), zmq_close(), zmq_connect(), zmq_ctx_new(), zmq_ctx_term(), ZMQ_DONTWAIT, zmq_getsockopt(), ZMQ_PULL, ZMQ_PUSH, ZMQ_RCVHWM, zmq_send(), zmq_setsockopt(), ZMQ_SNDHWM, and zmq_socket().
Referenced by main().
void test_decrease_when_full | ( | ) |
Definition at line 106 of file test_sockopt_hwm.cpp.
References msleep(), SETTLE_TIME, zmq_bind(), zmq_close(), zmq_connect(), zmq_ctx_new(), zmq_ctx_term(), ZMQ_DONTWAIT, zmq_getsockopt(), ZMQ_PULL, ZMQ_PUSH, ZMQ_RCVHWM, zmq_recv(), zmq_send(), zmq_setsockopt(), ZMQ_SNDHWM, and zmq_socket().
Referenced by main().
const int MAX_SENDS = 10000 |
Definition at line 32 of file test_sockopt_hwm.cpp.