libzmq  master
ZeroMQ C++ Core Engine (LIBZMQ)
test_security_curve.cpp File Reference
#include "testutil.hpp"
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
Include dependency graph for test_security_curve.cpp:

Go to the source code of this file.

Functions

int main (void)
 
static void zap_handler (void *handler)
 

Variables

static char client_public [41]
 
static char client_secret [41]
 
static char server_public [41]
 
static char server_secret [41]
 

Function Documentation

static void zap_handler ( void *  handler)
static

Definition at line 53 of file test_security_curve.cpp.

References address, client_public, s_recv(), s_send(), s_sendmore(), size, streq, zmq_close(), zmq_recv(), and zmq_z85_encode().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

char client_public[41]
static

Definition at line 44 of file test_security_curve.cpp.

Referenced by main(), and zap_handler().

char client_secret[41]
static

Definition at line 45 of file test_security_curve.cpp.

Referenced by main().

char server_public[41]
static

Definition at line 46 of file test_security_curve.cpp.

Referenced by main().

char server_secret[41]
static

Definition at line 47 of file test_security_curve.cpp.

Referenced by main().