#include <nng/nng.h> typedef struct nng_stream nng_stream;
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