aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_tcp_close.3tcp.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/man/nng_tcp_close.3tcp.adoc')
-rw-r--r--docs/man/nng_tcp_close.3tcp.adoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/man/nng_tcp_close.3tcp.adoc b/docs/man/nng_tcp_close.3tcp.adoc
index 6428501c..5e68398b 100644
--- a/docs/man/nng_tcp_close.3tcp.adoc
+++ b/docs/man/nng_tcp_close.3tcp.adoc
@@ -1,6 +1,6 @@
= nng_tcp_close(3tcp)
//
-// 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>
//
// This document is supplied under the terms of the MIT License, a
@@ -27,8 +27,8 @@ void nng_tcp_close(nng_tcp *conn);
The `nng_tcp_close()` function closes the supplied TCP connection, _conn_.
-If any operations are pending (such as `<<nng_tcp_send.3tcp#,nng_tcp_send()>>`
-or `<<nng_tcp_recv.3tcp#,nng_tcp_recv()>>` they will be terminated with
+If any operations are pending (such as <<nng_tcp_send.3tcp#,`nng_tcp_send()`>>
+or <<nng_tcp_recv.3tcp#,`nng_tcp_recv()`>> they will be terminated with
an `NNG_ECLOSED` error condition.
Also, any new operations will fail with `NNG_ECLOSED` after the connection
is closed.
@@ -40,7 +40,7 @@ have completely transmitted.
NOTE: Closing the connection does not free the resources associated with it.
Once it is certain that no more operations are pending on the connection,
-it should be freed with `<<nng_tcp_free.3tcp#,nng_tcp_free()>>`.
+it should be freed with <<nng_tcp_free.3tcp#,`nng_tcp_free()`>>.
== RETURN VALUES