ValvulaConnection * valvula_connection_new_empty ( ValvulaCtx ctx,
VALVULA_SOCKET  _socket,
ValvulaPeerRole  role 
)

Allows to create a new working connection with the provided socket, role and context.

References valvula_mutex_create().