aboutsummaryrefslogtreecommitdiffstats
path: root/man7/unix.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-01-08 20:47:20 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-01-08 20:50:17 +0100
commit84c8cae2c288848641a9c0aa38f383fd37ec389c (patch)
tree78d25787b74ca2ba371cd5e600ce351dfbbd6db3 /man7/unix.7
parenteb73e8ad50f6980ceb16e94d477c4d6abeeea536 (diff)
downloadman-pages-84c8cae2c288848641a9c0aa38f383fd37ec389c.tar.gz
unix.7: Some wording improvements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/unix.7')
-rw-r--r--man7/unix.718
1 files changed, 9 insertions, 9 deletions
diff --git a/man7/unix.7 b/man7/unix.7
index 7a4a04ee31..c7c8838782 100644
--- a/man7/unix.7
+++ b/man7/unix.7
@@ -620,21 +620,21 @@ that the applications that
pathname sockets follow the rules outlined above under
.IR "Pathname sockets" .
.SH EXAMPLE
-The following code demonstrates the usage of sockets for local interprocess
-communication.
+The following code demonstrates the use of sequenced-packet
+sockets for local interprocess communication.
It consists of two programs.
The server program waits for a connection from the client program.
-The client sends all of its command-line arguments.
-The server treats them as integers and adds them up.
+The client sends each of its command-line arguments in separate messages.
+The server treats the incoming messages as integers and adds them up.
The client sends the command string "END".
-The server returns the result.
-The client prints the sum of the received integers and exits.
+The server sends back a message containing the sum of the client's integers.
+The client prints the sum and exits.
The server waits for the next client to connect.
-To stop the server the client is called with the command-line argument "DOWN".
+To stop the server, the client is called with the command-line argument "DOWN".
.PP
The following output was recorded while running the server in the background
-and repeatedly calling the client.
-Execution of the server program ended when receiving the "DOWN" command.
+and repeatedly executing the client.
+Execution of the server program ends when it receives the "DOWN" command.
.SS Example output
.in +4n
.nf