summaryrefslogtreecommitdiffstats
path: root/src/bin/sockcreator/README
diff options
context:
space:
mode:
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>2011-04-07 11:32:33 +0200
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>2011-04-07 11:32:33 +0200
commitd12560d1714fb3a07e56b6903141d82d6081148d (patch)
tree8bcd6fe52a3620b6ea06c3eb6b0c4f679b7cbd96 /src/bin/sockcreator/README
parent[trac366] Small fixups (diff)
downloadkea-d12560d1714fb3a07e56b6903141d82d6081148d.tar.xz
kea-d12560d1714fb3a07e56b6903141d82d6081148d.zip
[trac366] README tweaks
Diffstat (limited to 'src/bin/sockcreator/README')
-rw-r--r--src/bin/sockcreator/README10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/sockcreator/README b/src/bin/sockcreator/README
index 84a0f6db01..4dbbee726e 100644
--- a/src/bin/sockcreator/README
+++ b/src/bin/sockcreator/README
@@ -32,11 +32,11 @@ must be a socket, not pipe.
they would be passed to bind (note that both parameters are already prepared,
like hton called on them).
- The answer to this is either 'S' and then the socket is passed using sendmsg
- if it is successful (it uses our send_fd, you can use recv_fd to read it).
- If it fails, 'E' is returned, followed by either 'S' or 'B' (either socket()
- or bind() call failed). Then there is one int (architecture-dependent length
- and endianess), which is the errno value after the failure.
+ The answer to this is either 'S' directly followed by the socket (using
+ sendmsg) if it is successful. If it fails, 'E' is returned instead, followed
+ by either 'S' or 'B' (either socket() or bind() call failed). Then there is
+ one int (architecture-dependent length and endianess), which is the errno
+ value after the failure.
The creator may also send these messages at any time (but not in the middle
of another message):