#include <nng/nng.h>
nng_socket nng_pipe_socket(nng_pipe p);
--- version: v1.7.2 layout: manpage_v2 title: nng_pipe_socket(3) ---
nng_pipe_socket - return owning socket for pipe
#include <nng/nng.h>
nng_socket nng_pipe_socket(nng_pipe p);
The nng_pipe_socket() function returns the nng_socket
associated with 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. |
This function returns the socket associated with the pipe.
None.