From 8b8fdbdc2e3fef03e21177eb3710491e4c080d43 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 23 Jan 2020 23:24:04 -0800 Subject: Publishing updates for v1.2.4 --- man/v1.2.4/nng_tls.5.html | 172 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 172 insertions(+) create mode 100644 man/v1.2.4/nng_tls.5.html (limited to 'man/v1.2.4/nng_tls.5.html') diff --git a/man/v1.2.4/nng_tls.5.html b/man/v1.2.4/nng_tls.5.html new file mode 100644 index 00000000..6c0dd42d --- /dev/null +++ b/man/v1.2.4/nng_tls.5.html @@ -0,0 +1,172 @@ +--- +version: v1.2.4 +layout: refman +--- + + + + + + + +nng_tls(5) + + + + + + +
+
+

SYNOPSIS

+
+
+
+
#include <nng/nng.h>
+#include <nng/supplemental/tls/tls.h>
+
+typedef struct nng_tls_s nng_tls;
+
+
+
+
+
+

DESCRIPTION

+
+
+

An nng_tls represents a connected stream. +TLS stream objects can be used to send or receive data, and +provide transport level security via cryptography over a TCP connected +stream.

+
+
+ + + + + +
+ + +The nng_tls object is used for raw TLS connections, and +should not be confused with a pipe object created using the +nng_tls(7) transport. +
+
+
+ + + + + +
+ + +Most NNG applications should not use this, but instead use the +nng_tls(7) transport instead. +
+
+
+

These objects are created either establishing an outgoing connection +with nng_tls_dialer_dial() or by +accepting in incoming connection with +nng_tls_listener_accept().

+
+
+

TLS connections are byte streams, and are “reliable” in that data +will not be delivered out of order, or with portions missing.

+
+
+

Data can be sent using nng_tls_send() or +received with nng_tls_recv().

+
+
+

When the connection is no longer needed, it should be freed with +nng_tls_free().

+
+
+ + + + + +
+ + +It is possible to close the connection, without freeing it, by +using nng_tls_close(). +
+
+
+

Options

+
+

The following options are applicable to TLS connections, and may be +accessed using the nng_tls_getopt() and +nng_tls_setopt() functions.

+
+ +
+

Other platform specific options may be available as well.

+
+
+
+
+ +
+ + + \ No newline at end of file -- cgit v1.2.3-70-g09d2