From 642b7296226348e35d2abfa026078f53ed7deb43 Mon Sep 17 00:00:00 2001 From: Gerhard Rieger Date: Mon, 5 Aug 2024 18:19:47 +0200 Subject: [PATCH] More docu fixes --- doc/socat.yo | 8 ++++---- socat-broker.sh | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/socat.yo b/doc/socat.yo index 231b17c..07f56c8 100644 --- a/doc/socat.yo +++ b/doc/socat.yo @@ -3282,7 +3282,7 @@ label(OPTION_OPENSSL_METHOD)dit(bf(tt(method=))) dit(tt(TLS1)) Select TLS protocol version 1. dit(tt(TLS1.1)) Select TLS protocol version 1.1. dit(tt(TLS1.2)) Select TLS protocol version 1.2. - When this option is not provided OpenSSL negotiates the mothod with its + When this option is not provided OpenSSL negotiates the method with its peer. enddit() label(OPTION_OPENSSL_MIN_PROTO_VERSION)dit(bf(tt(min-proto-version))) @@ -4466,16 +4466,16 @@ mancommand(\.nf) mancommand(\fBsocat --experimental -u \\) mancommand(\.RS) mancommand(\fBPOSIXMQ-RECV:/queue1,fork,max-children=3 \\ - SYSTEM:"robot.sh"\fP) + SYSTEM:"worker.sh"\fP) mancommand(\.RE) mancommand(\.fi) htmlcommand(
socat --experimental -u \ POSIXMQ-RECV:/queue1,fork,max-children=3 \ - SYSTEM:"robot.sh"
) + SYSTEM:"worker.sh") -Receives messages (packets) from POSIX message queue and, for each messages, +Receives messages (packets) from POSIX message queue and, for each message, forks a sub process that reads and processes the message. At most 3 sub processes are allowed at the same time. diff --git a/socat-broker.sh b/socat-broker.sh index f91b4ec..ccdea6f 100755 --- a/socat-broker.sh +++ b/socat-broker.sh @@ -4,15 +4,15 @@ # Shell script to perform group communications, sometimes called brokering. # It starts a Socat instance that forks a child process for each -# connected client; the clients communicate via IPv4 broadcast +# connected client; the child processes communicate via IPv4 broadcast # Examples: # socat-broker.sh TCP-L:1234 -# Now connect with an arbitrary number of clients like TCP::1234 +# Now connect with any number of clients like TCP::1234 # socat-broker.sh SSL-L:1234,cert=server.pem,cafile=clients.crt -# Now connect with an arbitrary number of clients like SSL::1234,cafile=server.cert=clients.pem +# Now connect with an arbitrary number of clients like SSL::1234,cafile=server,cert=clients.pem ECHO="echo -e"