Exemple #1
0
void socket::destroy(context& ctx)
{
    CZMQPP_ASSERT(self_);
    zsocket_destroy(ctx.self(), self_);
}
Exemple #2
0
socket::socket(context& ctx, int type)
{
    self_ = zsocket_new(ctx.self(), type);
}