nanomsg next generation NNG  
Home GitHub Documentation

This documentation is for version v1.2.2 of nng, but the latest released version is v1.8.0. see the documentation for v1.8.0 for the most up-to-date information.
nng_pipe_socket(3)

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.

NNG Reference Manual vv1.2.2 © 2019 Staysail Systems, Inc, © 2018 Capitar IT Group BV
This document is supplied under the MIT License.
nanomsg™ and nng™ are trademarks of Garrett D'Amore.