summaryrefslogtreecommitdiffstats
path: root/Doc/howto/sockets.rst
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2011-05-29 14:54:08 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2011-05-29 14:54:08 (GMT)
commit987475c9568c12d411e74e301ccfd12f7be4f06a (patch)
treed5bf2ce5d5ac752a84f2cf7e62ff49452677baef /Doc/howto/sockets.rst
parent2d517218320af6f752eaf1fbd96466e8d13d2d20 (diff)
downloadcpython-987475c9568c12d411e74e301ccfd12f7be4f06a.zip
cpython-987475c9568c12d411e74e301ccfd12f7be4f06a.tar.gz
cpython-987475c9568c12d411e74e301ccfd12f7be4f06a.tar.bz2
Explain that INET is IPv4 and STREAM is TCP.
Diffstat (limited to 'Doc/howto/sockets.rst')
-rw-r--r--Doc/howto/sockets.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/sockets.rst b/Doc/howto/sockets.rst
index 04e9b98..80e98f7 100644
--- a/Doc/howto/sockets.rst
+++ b/Doc/howto/sockets.rst
@@ -23,8 +23,8 @@ It's not really a tutorial - you'll still have work to do in getting things
working. It doesn't cover the fine points (and there are a lot of them), but I
hope it will give you enough background to begin using them decently.
-I'm only going to talk about INET sockets, but they account for at least 99% of
-the sockets in use. And I'll only talk about STREAM sockets - unless you really
+I'm only going to talk about INET (i.e. IPv4) sockets, but they account for at least 99% of
+the sockets in use. And I'll only talk about STREAM (i.e. TCP) sockets - unless you really
know what you're doing (in which case this HOWTO isn't for you!), you'll get
better behavior and performance from a STREAM socket than anything else. I will
try to clear up the mystery of what a socket is, as well as some hints on how to