From: Martin v. Löwis Date: Sun, 29 May 2011 14:54:08 +0000 (+0200) Subject: Explain that INET is IPv4 and STREAM is TCP. X-Git-Tag: v3.3.0a1~2183^2~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=987475c9568c12d411e74e301ccfd12f7be4f06a;p=python Explain that INET is IPv4 and STREAM is TCP. --- diff --git a/Doc/howto/sockets.rst b/Doc/howto/sockets.rst index 04e9b98b2c..80e98f7b7e 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