Browse Source

[trac366] README tweaks

Michal 'vorner' Vaner 14 years ago
parent
commit
d12560d171
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/bin/sockcreator/README

+ 5 - 5
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,
   they would be passed to bind (note that both parameters are already prepared,
   like hton called on them).
   like hton called on them).
 
 
-  The answer to this is either 'S' and then the socket is passed using sendmsg
+  The answer to this is either 'S' directly followed by the socket (using
-  if it is successful (it uses our send_fd, you can use recv_fd to read it).
+  sendmsg) if it is successful. If it fails, 'E' is returned instead, followed
-  If it fails, 'E' is returned, followed by either 'S' or 'B' (either socket()
+  by either 'S' or 'B' (either socket() or bind() call failed). Then there is
-  or bind() call failed). Then there is one int (architecture-dependent length
+  one int (architecture-dependent length and endianess), which is the errno
-  and endianess), which is the errno value after the failure.
+  value after the failure.
 
 
 The creator may also send these messages at any time (but not in the middle
 The creator may also send these messages at any time (but not in the middle
 of another message):
 of another message):