nn_sockbase_getctx

Returns the AIO context associated with the socket. This function is useful when socket type implementation needs to create async objects, such as timers.

  1. nn_ctx* nn_sockbase_getctx(nn_sockbase* self)
  2. nn_ctx* nn_sockbase_getctx(nn_sockbase* self)
    extern (C) @nogc nothrow nothrow @nogc
    nn_sockbase_getctx