summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2005-06-05 20:39:36 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2005-06-05 20:39:36 (GMT)
commit4c1423bb7a3bce158776d23e8de804f058950061 (patch)
tree9793c0375aa0bf124a2e1d51352f6ba8c3559e3d /Doc/lib
parentb6c1bb883e311fb60e8e54d6d5256d2f52941b4b (diff)
downloadcpython-4c1423bb7a3bce158776d23e8de804f058950061.zip
cpython-4c1423bb7a3bce158776d23e8de804f058950061.tar.gz
cpython-4c1423bb7a3bce158776d23e8de804f058950061.tar.bz2
Documentation clarified re. config socket listener protocol
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/liblogging.tex5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex
index 8146059..cca83ca 100644
--- a/Doc/lib/liblogging.tex
+++ b/Doc/lib/liblogging.tex
@@ -1396,7 +1396,10 @@ configurations. If no port is specified, the module's default
will be sent as a file suitable for processing by \function{fileConfig()}.
Returns a \class{Thread} instance on which you can call \method{start()}
to start the server, and which you can \method{join()} when appropriate.
-To stop the server, call \function{stopListening()}.
+To stop the server, call \function{stopListening()}. To send a configuration
+to the socket, read in the configuration file and send it to the socket
+as a string of bytes preceded by a four-byte length packed in binary using
+struct.\code{pack(">L", n)}.
\end{funcdesc}
\begin{funcdesc}{stopListening}{}