diff options
| author | gdamore <gdamore@users.noreply.github.com> | 2025-01-15 05:56:53 +0000 |
|---|---|---|
| committer | gdamore <gdamore@users.noreply.github.com> | 2025-01-15 05:56:53 +0000 |
| commit | 2b8d71694ea8755881bdb8d8fe1fdcc9d4055eac (patch) | |
| tree | 36a08075a6963a9b81b493d1ef1908a06452eb2a /ref/tran/socket.html | |
| parent | b163d078fcb3e40ad3f047f42326e9267bc4da50 (diff) | |
| download | nng-2b8d71694ea8755881bdb8d8fe1fdcc9d4055eac.tar.gz nng-2b8d71694ea8755881bdb8d8fe1fdcc9d4055eac.tar.bz2 nng-2b8d71694ea8755881bdb8d8fe1fdcc9d4055eac.zip | |
deploy: 575148ac9a274d61e45220fda7d8de6a420f4fe4
Diffstat (limited to 'ref/tran/socket.html')
| -rw-r--r-- | ref/tran/socket.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ref/tran/socket.html b/ref/tran/socket.html index 861cd256..c3df9c69 100644 --- a/ref/tran/socket.html +++ b/ref/tran/socket.html @@ -235,7 +235,7 @@ created with <a href="/api/misc.html#create-socket-pair"><code>nng_socket_pair</ </div> <p>The socket file descriptor is passed to the listener using the <a name="a002"></a><code>NNG_OPT_SOCKET_FD</code> option (as an integer). -Setting this option will cause the listener to create a <a href="/TODO.html">pipe</a> +Setting this option will cause the listener to create a <a href="/api/pipe.html">pipe</a> backed by the file descriptor.</p> <p>The protocol between peers using this transport is compatible with the protocol used for the <em><a href="/tran/tcp.html">tcp</a></em> transport, but this is an implementation detail and subject to change without notice. @@ -256,7 +256,7 @@ There are no further socket details available.</p> <h2 id="transport-options"><a class="header" href="#transport-options">Transport Options</a></h2> <p>The following transport options are supported by this transport.</p> <div class="table-wrapper"><table><thead><tr><th>Option</th><th>Type</th><th>Description</th></tr></thead><tbody> -<tr><td><code>NNG_OPT_SOCKET_FD</code></td><td><code>int</code></td><td>Write-only option, that may be set multiple times on a listener. Each time this is set, the listener will create a <a href="/TODO.html">pipe</a> backed by the given file descriptor passed as an argument.</td></tr> +<tr><td><code>NNG_OPT_SOCKET_FD</code></td><td><code>int</code></td><td>Write-only option, that may be set multiple times on a listener. Each time this is set, the listener will create a <a href="/api/pipe.html">pipe</a> backed by the given file descriptor passed as an argument.</td></tr> <tr><td><code>NNG_OPT_PEER_GID</code></td><td><code>int</code></td><td>Read only option, returns the group ID of the process at the other end of the socket, if platform supports it.</td></tr> <tr><td><code>NNG_OPT_PEER_PID</code></td><td><code>int</code></td><td>Read only option, returns the processed ID of the process at the other end of the socket, if platform supports it.</td></tr> <tr><td><code>NNG_OPT_PEER_UID</code></td><td><code>int</code></td><td>Read only option, returns the user ID of the process at the other end of the socket, if platform supports it.</td></tr> |
