From 2b8d71694ea8755881bdb8d8fe1fdcc9d4055eac Mon Sep 17 00:00:00 2001 From: gdamore Date: Wed, 15 Jan 2025 05:56:53 +0000 Subject: deploy: 575148ac9a274d61e45220fda7d8de6a420f4fe4 --- ref/tran/socket.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ref/tran/socket.html') 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 nng_socket_pair

The socket file descriptor is passed to the listener using the NNG_OPT_SOCKET_FD option (as an integer). -Setting this option will cause the listener to create a pipe +Setting this option will cause the listener to create a pipe backed by the file descriptor.

The protocol between peers using this transport is compatible with the protocol used for the tcp transport, but this is an implementation detail and subject to change without notice. @@ -256,7 +256,7 @@ There are no further socket details available.

Transport Options

The following transport options are supported by this transport.

- + -- cgit v1.2.3-70-g09d2
OptionTypeDescription
NNG_OPT_SOCKET_FDintWrite-only option, that may be set multiple times on a listener. Each time this is set, the listener will create a pipe backed by the given file descriptor passed as an argument.
NNG_OPT_SOCKET_FDintWrite-only option, that may be set multiple times on a listener. Each time this is set, the listener will create a pipe backed by the given file descriptor passed as an argument.
NNG_OPT_PEER_GIDintRead only option, returns the group ID of the process at the other end of the socket, if platform supports it.
NNG_OPT_PEER_PIDintRead only option, returns the processed ID of the process at the other end of the socket, if platform supports it.
NNG_OPT_PEER_UIDintRead only option, returns the user ID of the process at the other end of the socket, if platform supports it.