libzmq  master
ZeroMQ C++ Core Engine (LIBZMQ)
test_stream.cpp File Reference
#include "testutil.hpp"
Include dependency graph for test_stream.cpp:

Go to the source code of this file.

Classes

struct  zmtp_greeting_t
 

Macros

#define size   64000
 
#define ZMTP_DEALER   5
 

Typedefs

typedef unsigned char byte
 

Functions

int main (void)
 
static void test_stream_to_dealer (void)
 
static void test_stream_to_stream (void)
 

Variables

static zmtp_greeting_t greeting
 

Macro Definition Documentation

#define ZMTP_DEALER   5

Definition at line 43 of file test_stream.cpp.

Typedef Documentation

typedef unsigned char byte

Definition at line 34 of file test_stream.cpp.

Function Documentation

int main ( void  )

Definition at line 328 of file test_stream.cpp.

References setup_test_environment(), test_stream_to_dealer(), and test_stream_to_stream().

Here is the call graph for this function:

static void test_stream_to_dealer ( void  )
static
static void test_stream_to_stream ( void  )
static

Definition at line 232 of file test_stream.cpp.

References zmq_bind(), zmq_close(), zmq_connect(), zmq_ctx_new(), zmq_ctx_term(), zmq_getsockopt(), ZMQ_IDENTITY, zmq_recv(), zmq_send(), zmq_setsockopt(), ZMQ_SNDMORE, zmq_socket(), ZMQ_STREAM, and ZMQ_STREAM_NOTIFY.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

zmtp_greeting_t greeting
static
Initial value:
= { { 0xFF, 0, 0, 0, 0, 0, 0, 0, 1, 0x7F },
{ 3, 0 },
{ 'N', 'U', 'L', 'L'},
0,
{ 0 }
}

Definition at line 49 of file test_stream.cpp.

Referenced by test_stream_to_dealer().