From ff06de11cf5a953f47d22bd896f3860697c520c8 Mon Sep 17 00:00:00 2001
From: Garrett D'Amore <garrett@damore.org>
Date: Sun, 6 Jan 2019 12:02:48 -0800
Subject: fixes #845 TCP public API doc updates

---
 docs/man/libnng.3.adoc | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

(limited to 'docs/man/libnng.3.adoc')

diff --git a/docs/man/libnng.3.adoc b/docs/man/libnng.3.adoc
index 5d5f5ef0..354b4b50 100644
--- a/docs/man/libnng.3.adoc
+++ b/docs/man/libnng.3.adoc
@@ -1,7 +1,8 @@
 = libnng(3)
 //
-// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2019 Staysail Systems, Inc. <info@staysail.tech>
 // Copyright 2018 Capitar IT Group BV <info@capitar.com>
+// Copyright 2019 Devolutions <info@devolutions.net>
 //
 // This document is supplied under the terms of the MIT License, a
 // copy of which should be located in the distribution where this
@@ -281,6 +282,9 @@ as a convenience to aid in creating portable applications.
 
 === Supplemental TCP
 
+These TCP functions are available for use with direct TCP access.
+Most applications won't need to use these.
+
 |===
 |<<nng_tcp_close.3tcp#,nng_tcp_close()>>|close TCP connection
 |<<nng_tcp_dialer_alloc.3tcp#,nng_tcp_dialer_alloc()>>|allocate TCP dialer
@@ -288,6 +292,7 @@ as a convenience to aid in creating portable applications.
 |<<nng_tcp_dialer_dial.3tcp#,nng_tcp_dialer_dial()>>|initiate outgoing TCP connection
 |<<nng_tcp_dialer_free.3tcp#,nng_tcp_dialer_free()>>|free TCP dialer
 |<<nng_tcp_free.3tcp#,nng_tcp_free()>>|free TCP connection
+|<<nng_tcp_getopt.3tcp#,nng_tcp_getopt()>>|get option from TCP connection
 |<<nng_tcp_listener_accept.3tcp#,nng_tcp_listener_accept()>>|accept incoming TCP connection
 |<<nng_tcp_listener_alloc.3tcp#,nng_tcp_listener_alloc()>>|allocate TCP listener
 |<<nng_tcp_listener_close.3tcp#,nng_tcp_listener_close()>>|close TCP listener
@@ -297,12 +302,10 @@ as a convenience to aid in creating portable applications.
 |<<nng_tcp_recv.3tcp#,nng_tcp_recv()>>|receive from TCP connection
 |<<nng_tcp_send.3tcp#,nng_tcp_send()>>|send to TCP connection
 |<<nng_tcp_sockname.3tcp#,nng_tcp_sockname()>>|get TCP local socket address
-|<<nng_tcp_set_keepalive.3tcp#,nng_tcp_set_keepalive()>>|enable or disable TCP keepalives
-|<<nng_tcp_set_nodelay.3tcp#,nng_tcp_set_nodelay()>>|disable Nagle's algorithm
+|<<nng_tcp_setopt.3tcp#,nng_tcp_setopt()>>|set option on TCP connection
+|===
 
-|
 
-|===
 === HTTP Support
 
 The library may be configured with support for HTTP, and this will
-- 
cgit v1.2.3-70-g09d2

