diff options
| author | Garrett D'Amore <garrett@damore.org> | 2019-01-07 23:14:51 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2019-01-14 20:25:40 -0800 |
| commit | d0a26bbd1caf3de2132855d7936fed8ac1f1488c (patch) | |
| tree | 5133c92dbb88df393df670555613d2f4e1a9018a /docs/man/nng_tcp_send.3tcp.adoc | |
| parent | 099d89877aca6a7236254e39d9c9f5c46083cee7 (diff) | |
| download | nng-d0a26bbd1caf3de2132855d7936fed8ac1f1488c.tar.gz nng-d0a26bbd1caf3de2132855d7936fed8ac1f1488c.tar.bz2 nng-d0a26bbd1caf3de2132855d7936fed8ac1f1488c.zip | |
fixes #858 Document the TLS public API
This also includes a number of the documentation improvements.
The options document has been broken up into separate pages for
each of the transport specific options. We have made various
other minor improvements, fixes to markup, and cross-references.
Diffstat (limited to 'docs/man/nng_tcp_send.3tcp.adoc')
| -rw-r--r-- | docs/man/nng_tcp_send.3tcp.adoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/man/nng_tcp_send.3tcp.adoc b/docs/man/nng_tcp_send.3tcp.adoc index 723781d5..806dd9c0 100644 --- a/docs/man/nng_tcp_send.3tcp.adoc +++ b/docs/man/nng_tcp_send.3tcp.adoc @@ -29,19 +29,19 @@ The `nng_tcp_send()` function starts an asynchronous send over the TCP connection _conn_ from the scatter/gather vector located in the asynchronous I/O structure _aio_. -NOTE: The `<<nng_aio_set_iov.3#,nng_aio_set_iov()>>` function must have been +NOTE: The <<nng_aio_set_iov.3#,`nng_aio_set_iov()`>> function must have been called first, to set the scatter/gather vector for _aio_. This function returns immediately, with no return value. Completion of the operation is signaled via the _aio_, and the final -result may be obtained via `<<nng_aio_result.3#,nng_aio_result()>>`. +result may be obtained via <<nng_aio_result.3#,`nng_aio_result()`>>. That result will either be zero or an error code. The I/O operation completes as soon as at least one byte has been sent, or an error has occurred. Therefore, the number of bytes sent may be less than requested. The actual number of bytes sent can be determined with -`<<nng_aio_count.3#,nng_aio_count()>>`. +<<nng_aio_count.3#,`nng_aio_count()`>>. NOTE: While TCP has the notion of urgent (out-of-band) delivery, that is used by very few protocols and this API does not support it. |
