From e65ecddd1c04ab5b784b0919e62bc87d2a750ef6 Mon Sep 17 00:00:00 2001
From: Garrett D'Amore nng_stream - byte streamNAME
+NAME
nng_stream object is used for raw byte stream connections, and
should not be confused with a pipe object created on
-socket using the
-nng_listen(),
-nng_dial() or related functions.
+socket using the
+nng_listen(),
+nng_dial() or related functions.
These objects are created either establishing an outgoing connection
with
-nng_stream_dialer_dial()
+nng_stream_dialer_dial()
or by accepting in incoming connection with
-nng_stream_listener_accept().
nng_stream_listener_accept().
Byte streams are “reliable” in that data @@ -567,13 +80,13 @@ will not be delivered out of order, or with portions missing.
Data can be sent using
-nng_stream_send() or
+nng_stream_send() or
received with
-nng_stream_recv().
nng_stream_recv().
When the connection is no longer needed, it should be freed with
-nng_stream_free().
nng_stream_free().
It is possible to close the connection, without freeing it, by
using
-nng_stream_close().
+nng_stream_close().
|
Byte streams may, depending on the underlying technology,
support various
-options, which
+options, which
can be accessed using the
-nng_stream_get() and
-nng_stream_set() family of
+nng_stream_get() and
+nng_stream_set() family of
functions.
libnng(3), -nng_stream_close(3str), -nng_stream_dialer_dial(3str), -nng_stream_free(3str), -nng_stream_getopt(3str), -nng_stream_listener_accept(3str), -nng_stream_recv(3str), -nng_stream_send(3str), -nng_stream_setopt(3str), -nng_options(5), -nng(7),
+libnng(3), +nng_stream_close(3str), +nng_stream_dialer_dial(3str), +nng_stream_free(3str), +nng_stream_getopt(3str), +nng_stream_listener_accept(3str), +nng_stream_recv(3str), +nng_stream_send(3str), +nng_stream_setopt(3str), +nng_options(5), +nng(7),