nn_sockbase_init

Base class for all socket types: Initialise the socket base class. 'hint' is the opaque value passed to the nn_transport's 'create' function.

  1. void nn_sockbase_init(nn_sockbase* self, nn_sockbase_vfptr* vfptr, void* hint)
  2. void nn_sockbase_init(nn_sockbase* self, const(nn_sockbase_vfptr)* vfptr, void* hint)
    extern (C) @nogc nothrow nothrow @nogc
    void
    nn_sockbase_init