Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.02 KB

nng_pipe_socket.3.adoc

File metadata and controls

46 lines (32 loc) · 1.02 KB

nng_pipe_socket(3)

NAME

nng_pipe_socket - return owning socket for pipe

SYNOPSIS

#include <nng/nng.h>

nng_socket nng_pipe_socket(nng_pipe p);

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.

RETURN VALUES

This function returns the socket associated with the pipe.

ERRORS

None.