summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libsocket.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-08-01 12:18:36 (GMT)
committerGuido van Rossum <guido@python.org>1994-08-01 12:18:36 (GMT)
commitab3a2504b97d5131779f400717dc491919783dd0 (patch)
tree03ced22eee028d86931850377b469bea0fabb55d /Doc/lib/libsocket.tex
parent7f43da7d61aef59ffb8a0c5042ebdf85c08869c6 (diff)
downloadcpython-ab3a2504b97d5131779f400717dc491919783dd0.zip
cpython-ab3a2504b97d5131779f400717dc491919783dd0.tar.gz
cpython-ab3a2504b97d5131779f400717dc491919783dd0.tar.bz2
libsocket.tex: send[to] returns nbytes.
libstring.tex: added count(). ref2.tex: new keywords; moved keyword printing program to keywords.py.
Diffstat (limited to 'Doc/lib/libsocket.tex')
-rw-r--r--Doc/lib/libsocket.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex
index 8599451..7596a86 100644
--- a/Doc/lib/libsocket.tex
+++ b/Doc/lib/libsocket.tex
@@ -193,13 +193,13 @@ socket sending the data.
\begin{funcdesc}{send}{string}
Send data to the socket. The socket must be connected to a remote
-socket.
+socket. Return the number of bytes sent.
\end{funcdesc}
\begin{funcdesc}{sendto}{string\, address}
Send data to the socket. The socket should not be connected to a
remote socket, since the destination socket is specified by
-\code{address}.
+\code{address}. Return the number of bytes sent.
(The format of \var{address} depends on the address family -- see above.)
\end{funcdesc}