From d07d2a4ee132e8349fb290ca460e28488f4a6a1c Mon Sep 17 00:00:00 2001 From: Rost Kurylo Date: Thu, 5 Feb 2026 14:34:12 -0800 Subject: [PATCH] doc/protocols: Document type option for unix domain sockets Signed-off-by: Rost Kurylo --- doc/protocols.texi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/protocols.texi b/doc/protocols.texi index 9c068075d5..18620cabcb 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -2295,6 +2295,13 @@ The following parameters can be set via command line options Timeout in ms. @item listen Create the Unix socket in listening mode. +@item type +Select socket type. +@table @samp +@item stream Corresponds to SOCK_STREAM (reliable stream-oriented) +@item datagram Corresponds to SOCK_DGRAM (unreliable packet-oriented) +@item seqpacket Corresponds to SOCK_SEQPACKET (reliable packet-oriented) +@end table @item pkt_size Maximum packet size for packet-oriented sockets (SOCK_DGRAM and SOCK_SEQPACKET). If greater than zero, this value is used as