Macros | Functions
nanomsg_pubsub.cpp File Reference
#include <assert.h>
#include <cstdio>
#include <ctime>
#include <cstring>
#include <unistd.h>
#include <nanomsg/nn.h>
#include <nanomsg/pubsub.h>
#include <iostream>
Include dependency graph for nanomsg_pubsub.cpp:

Go to the source code of this file.

Macros

#define CLIENT   "client"
 
#define SERVER   "server"
 
#define URL   "ipc:///tmp/nanomsg_pubsub.ipc"
 

Functions

int client ()
 
char * date ()
 
int main (const int argc, const char **argv)
 
int server ()
 

Macro Definition Documentation

#define CLIENT   "client"

Definition at line 18 of file nanomsg_pubsub.cpp.

#define SERVER   "server"

Definition at line 17 of file nanomsg_pubsub.cpp.

#define URL   "ipc:///tmp/nanomsg_pubsub.ipc"

Definition at line 19 of file nanomsg_pubsub.cpp.

Function Documentation

int client ( )

Definition at line 50 of file nanomsg_pubsub.cpp.

char* date ( )

Definition at line 21 of file nanomsg_pubsub.cpp.

int main ( const int  argc,
const char **  argv 
)

Definition at line 75 of file nanomsg_pubsub.cpp.

int server ( )

Definition at line 30 of file nanomsg_pubsub.cpp.



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