diff --git a/docs/man/nng_socket.7.adoc b/docs/man/nng_socket.7.adoc index e73b599a7..f575eed7c 100644 --- a/docs/man/nng_socket.7.adoc +++ b/docs/man/nng_socket.7.adoc @@ -19,7 +19,7 @@ The ((_socket_ transport)) provides communication support between peers across a arbitrary BSD sockets, such as those that are created with xref:nng_socket_pair.3supp.adoc[`nng_socket_pair()`]. -This transport only supports xref:nng_listener.5.adoc[listeners], using xref:nng_listener_create.3.adoc[`nng_listener_create()]. +This transport only supports xref:nng_listener.5.adoc[listeners], using xref:nng_listener_create.3.adoc[`nng_listener_create()`]. NOTE: Attempts to create a xref:nng_dialer.5.adoc[dialer] using this transport will result in `NNG_ENOTSUP`. @@ -55,12 +55,20 @@ The following transport option is available: (int) This is a write-only option, that may be set multiple times on a listener. The listener will create a pipe backed by the given file descriptor passed as an argument. +Additionally, the following options may be supported on pipes when the platform supports them: + +* xref:nng_options.5.adoc#NNG_OPT_PEER_GID[`NNG_OPT_PEER_GID`] +* xref:nng_options.5.adoc#NNG_OPT_PEER_PID[`NNG_OPT_PEER_PID`] +* xref:nng_options.5.adoc#NNG_OPT_PEER_UID[`NNG_OPT_PEER_UID`] +* xref:nng_options.5.adoc#NNG_OPT_PEER_ZONEID[`NNG_OPT_PEER_ZONEID`] + == SEE ALSO [.text-left] xref:nng_socket_pair.3supp.adoc[nng_socket_pair(3)], xref:nng_dialer.5.adoc[nng_dialer(5)], xref:nng_listener.5.adoc[nng_listener(5)], +xref:nng_options.5.adoc[nng_options(5)], xref:nng_pipe.5.adoc[nng_pipe(5)], xref:nng_sockaddr.5.adoc[nng_sockaddr(5)], xref:nng.7.adoc[nng(7)]