102 Commits

Author SHA1 Message Date
Georg Brandl
c77f6c6ea4 Backport docs for recv_into and recvfrom_into. 2007-03-18 08:26:23 +00:00
Neal Norwitz
6a3955e99d Fix SF #1599879, socket.gethostname should ref getfqdn directly. 2006-11-21 06:25:09 +00:00
Andrew M. Kuchling
35094a6962 [Bug #1583946] Reword description of server and issuer 2006-10-27 12:50:55 +00:00
Andrew M. Kuchling
b9d7e04880 [Bug #1530382] Document SSL.server(), .issuer() methods 2006-07-29 15:35:21 +00:00
Andrew M. Kuchling
794c89b678 [Bug #1475554] Strengthen text to say 'must' instead of 'should' 2006-06-03 18:33:35 +00:00
Georg Brandl
dcfdae7d72 Bug #1460564: document that socket.fromfd() duplicates the given
file descriptor.
2006-04-01 07:33:08 +00:00
Georg Brandl
bb03ac0dae Correct API design mistake from rev. 43126: make socket attributes readonly properties. 2006-03-21 18:17:25 +00:00
Georg Brandl
bc45a3f821 RFE #567972: Socket objects' family, type and proto properties are
now exposed via new get...() methods.
2006-03-17 19:17:34 +00:00
Georg Brandl
a635fbbcb0 Remove dots in \version{changed,added} argument and
correct argument order.
2006-01-15 07:55:35 +00:00
Neal Norwitz
42a84fe085 Remove extra period at end. 2006-01-15 02:57:57 +00:00
Martin v. Löwis
11017b172d Patch #1103116: AF_NETLINK sockets basic support. 2006-01-14 18:12:57 +00:00
Georg Brandl
10141742d5 Bug #756104: document that bufsize in socket.recv() should be small 2005-12-26 23:07:46 +00:00
Neal Norwitz
d157b1d237 SF Bug #1308042, platform dependent behaviour (Windoze of course) in UDP sockets. Will backport 2005-10-03 00:44:06 +00:00
Brett Cannon
01668a1ab9 Fix test for socket.getfqdn() to also include the name returned by
socket.gethostname() in the check for a valid return.

Also clarified docs (official and docstring) that the value from gethostname()
is returned if gethostbyaddr() doesn't do the job.
2005-03-11 00:04:17 +00:00
Dave Cole
e8bbfe4e63 Patch #1015012. Improve markup and punctuation in libsocket.tex 2004-08-26 00:51:16 +00:00
Dave Cole
07fda7e3a0 Updated the socketpair() docstring and documentation to explain that the
default famility is AF_UNIX if defined for the platform, otherwise the
default is AF_INET.
2004-08-23 05:16:23 +00:00
Dave Cole
9dc19c2515 Ooops - for some reason I had the wrong versionadded... 2004-08-09 05:59:09 +00:00
Dave Cole
331708b226 Patch #1003700: Add socketpair function to socket module. 2004-08-09 04:51:41 +00:00
Barry Warsaw
11b91a0ea3 Added socket.getservbyport(), and make its second argument and that of
getservbyname() optional.  Update the tests and the docs.
2004-06-28 00:50:43 +00:00
Fred Drake
175d18840a avoid backticks in examples; use repr() instead 2004-06-03 16:23:23 +00:00
Fred Drake
cee8879a7d note that the error code for socket.gaierror will be one of the EAI_*
constants
(closes SF bug #837929)
2004-05-05 04:18:11 +00:00
Neal Norwitz
ba813e2089 #928751, fix typos in socket doc 2004-04-03 18:02:37 +00:00
Fred Drake
fcc51767bd update signature of the socket constructor
(could someone backport this to Python 2.3.x please?)
2004-01-27 18:21:26 +00:00
Guido van Rossum
5a92175fbc After hearing from someone who gave up on timeout sockets due to a
mistake in his code, I'm adding a note explaining that you should call
settimeout() before connect().
2003-12-13 22:12:53 +00:00
Martin v. Löwis
94681fc4a3 Patch #849595: Add socket.shutdown() constants. 2003-11-27 19:40:22 +00:00