arzmq-sys 0.6.3

Low-level bindings to the zeromq library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
* @file protoVif.cpp
* 
* @brief Extends ProtoChannel to provide virtual interface access.
*/
#include "protoVif.h"

ProtoVif::ProtoVif()
 : user_data(NULL)
{
    vif_name[0] = '\0';
    vif_name[VIF_NAME_MAX] = '\0';  // to guarantee null termination
}

ProtoVif::~ProtoVif()
{
    if (IsOpen()) Close();
}