aboutsummaryrefslogtreecommitdiff
path: root/docs/ref/tran/socket.md
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-03 08:02:22 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-03 08:38:19 -0800
commit960e96723f6cfe64c370b7c1168c664f4c49deae (patch)
treeb342ee0f9888daf0783d8b8c7663a7b3a8cf266d /docs/ref/tran/socket.md
parent86d073f3a7511b3045f5b183954eb6cd633fe930 (diff)
downloadnng-960e96723f6cfe64c370b7c1168c664f4c49deae.tar.gz
nng-960e96723f6cfe64c370b7c1168c664f4c49deae.tar.bz2
nng-960e96723f6cfe64c370b7c1168c664f4c49deae.zip
fixes #2061 Move IPC parameters from uint64 to int
Diffstat (limited to 'docs/ref/tran/socket.md')
-rw-r--r--docs/ref/tran/socket.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/ref/tran/socket.md b/docs/ref/tran/socket.md
index cba55a4b..45a0a621 100644
--- a/docs/ref/tran/socket.md
+++ b/docs/ref/tran/socket.md
@@ -37,13 +37,13 @@ There are no further socket details available.
The following transport options are supported by this transport.
-| Option | Type | Description |
-| --------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `NNG_OPT_SOCKET_FD` | `int` | Write-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_GID` | `uint64_t` | Read only option, returns the group ID of the process at the other end of the socket, if platform supports it. |
-| `NNG_OPT_PEER_PID` | `uint64_t` | Read only option, returns the processed ID of the process at the other end of the socket, if platform supports it. |
-| `NNG_OPT_PEER_UID` | `uint64_t` | Read only option, returns the user ID of the process at the other end of the socket, if platform supports it. |
-| `NNG_OPT_PEER_ZONEID` | `uint64_t` | Read only option, returns the zone ID of the process at the other end of the socket, if platform supports it. |
+| Option | Type | Description |
+| --------------------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| `NNG_OPT_SOCKET_FD` | `int` | Write-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_GID` | `int` | Read only option, returns the group ID of the process at the other end of the socket, if platform supports it. |
+| `NNG_OPT_PEER_PID` | `int` | Read only option, returns the processed ID of the process at the other end of the socket, if platform supports it. |
+| `NNG_OPT_PEER_UID` | `int` | Read only option, returns the user ID of the process at the other end of the socket, if platform supports it. |
+| `NNG_OPT_PEER_ZONEID` | `int` | Read only option, returns the zone ID of the process at the other end of the socket, if platform supports it. |
> [!NOTE]
> The `NNG_OPT_PEER_GID`, `NNG_OPT_PEER_PID`, `NNG_OPT_PEER_UID`, and `NNG_OPT_PEER_ZONEID` options depend on platform support.