[Python-checkins] cpython: Explain that INET is IPv4 and STREAM is TCP.

martin.v.loewis python-checkins at python.org
Sun May 29 16:54:20 CEST 2011


http://hg.python.org/cpython/rev/f70e26452621
changeset:   70475:f70e26452621
user:        Martin v. Löwis <martin at v.loewis.de>
date:        Sun May 29 16:54:08 2011 +0200
summary:
  Explain that INET is IPv4 and STREAM is TCP.

files:
  Doc/howto/sockets.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/howto/sockets.rst b/Doc/howto/sockets.rst
--- a/Doc/howto/sockets.rst
+++ b/Doc/howto/sockets.rst
@@ -23,8 +23,8 @@
 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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list