Macros | Functions
iproc.cpp File Reference
#include <nanomsg/nn.h>
#include <nanomsg/pair.h>
#include <nanomsg/pubsub.h>
#include <nanomsg/inproc.h>
#include <cstring>
#include <iostream>
#include <cstdlib>
#include <unistd.h>
Include dependency graph for iproc.cpp:

Go to the source code of this file.

Macros

#define SOCKET_ADDRESS   "inproc://test"
 

Functions

int main ()
 
static int test_bind (int sock, const char *address)
 
static void test_close (int sock)
 
static int test_connect (int sock, const char *address)
 
void test_pair ()
 
void test_pubsub ()
 
static void test_recv (int sock, const char *data)
 
static void test_send (int sock, const char *data)
 
static int test_socket (int family, int protocol)
 

Macro Definition Documentation

#define SOCKET_ADDRESS   "inproc://test"

Definition at line 10 of file iproc.cpp.

Function Documentation

int main ( )

Definition at line 234 of file iproc.cpp.

static int test_bind ( int  sock,
const char *  address 
)
static

Definition at line 32 of file iproc.cpp.

static void test_close ( int  sock)
static

Definition at line 85 of file iproc.cpp.

static int test_connect ( int  sock,
const char *  address 
)
static

Definition at line 23 of file iproc.cpp.

void test_pair ( )

Definition at line 95 of file iproc.cpp.

void test_pubsub ( )

Definition at line 178 of file iproc.cpp.

static void test_recv ( int  sock,
const char *  data 
)
static

Definition at line 58 of file iproc.cpp.

static void test_send ( int  sock,
const char *  data 
)
static

Definition at line 42 of file iproc.cpp.

static int test_socket ( int  family,
int  protocol 
)
static

Definition at line 12 of file iproc.cpp.



mm_mux_demux
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:52:14