SYNOPSIS
#include <nng/nng.h>
nng_socket nng_pipe_socket(nng_pipe p);
DESCRIPTION
The nng_pipe_socket()
function returns the nng_socket
that owns the pipe p.
The returned socket may be closed or in the process of closing, in which case it will not be usable with other functions. |
RETURN VALUES
This function returns the socket that “owns” the pipe.
ERRORS
None.