#include <nng/nng.h> typedef struct nng_stream nng_stream;
|This documentation is for the TIP (development tree) of NNG and may represent unreleased changes or functionality that is experimental, and is subject to change before release. The latest released version is v1.3.2. See the documentation for v1.3.2 for the most up-to-date information.|
nng_stream - byte stream
nng_stream represents a byte stream.
This may correspond to an underlying connection such a TCP connection or
a connected UNIX domain socket or named pipe.
Byte streams are reliable in that data will not be delivered out of order, or with portions missing.
When the connection is no longer needed, it should be freed with
It is possible to close the connection, without freeing it, by