Clarify behaviour of close() and shutdown() on sockets.
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index 0a0f764..c5f2b7c 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -552,6 +552,12 @@
remote end will receive no more data (after queued data is flushed). Sockets are
automatically closed when they are garbage-collected.
+ .. note::
+ :meth:`close()` releases the resource associated with a connection but
+ does not necessarily close the connection immediately. If you want
+ to close the connection in a timely fashion, call :meth:`shutdown()`
+ before :meth:`close()`.
+
.. method:: socket.connect(address)