nng_pipe_socket - return owning socket for pipe
Contents
Description
The nng_pipe_socket() function returns the nng_socket associated with the pipe p.
Note
The returned socket may be closed or in the process of closing, in which case it will not be usable
with other functions.
Errors
None.
Name
nng_pipe_socket - return owning socket for pipe
Return Values
This function returns the socket associated with the pipe.
See Also
nng_pipe(5), nng_socket(5), nng(7) 2025-04-20 NNG_PIPE_SOCKET(3)
Synopsis
#include <nng/nng.h>
nng_socket nng_pipe_socket(nng_pipe p);
