nng_pipe_socket(3)

nng_pipe_socket3

Return owning socket for pipe

Usage

#include <nng/nng.h>
nng_socket nng_pipe_socket(nng_pipe p);

Overview

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.

From libnng-dev 1.10.1-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.