summaryrefslogtreecommitdiff
path: root/Doc/lib/libsocket.tex
AgeCommit message (Collapse)AuthorLines
2006-06-03[Bug #1475554] Strengthen text to say 'must' instead of 'should'Andrew M. Kuchling-2/+2
2006-04-01Bug #1460564: document that socket.fromfd() duplicates the givenGeorg Brandl-4/+5
file descriptor. (backport from rev. 43523)
2005-12-26Bug #756104 (backport): document that bufsize in socket.recv() should be smallGeorg Brandl-0/+2
2005-10-03Backport: SF Bug #1308042, platform dependent behaviour (Windoze of course) ↵Neal Norwitz-1/+2
in UDP sockets.
2005-03-12Fix test_socket's test for socket.getfqdn() to also accept the result fromBrett Cannon-2/+2
socket.gethostname() as a valid return value. Also clarified the docs as they were a little hazy on the subject matter.
2004-08-26Patch #1015012. Improve markup and punctuation in libsocket.texDave Cole-3/+3
2004-08-23Updated the socketpair() docstring and documentation to explain that theDave Cole-2/+3
default famility is AF_UNIX if defined for the platform, otherwise the default is AF_INET.
2004-08-09Ooops - for some reason I had the wrong versionadded...Dave Cole-1/+1
2004-08-09Patch #1003700: Add socketpair function to socket module.Dave Cole-0/+8
2004-06-28Added socket.getservbyport(), and make its second argument and that ofBarry Warsaw-3/+9
getservbyname() optional. Update the tests and the docs.
2004-06-03avoid backticks in examples; use repr() insteadFred Drake-2/+2
2004-05-05note that the error code for socket.gaierror will be one of the EAI_*Fred Drake-0/+2
constants (closes SF bug #837929)
2004-04-03#928751, fix typos in socket docNeal Norwitz-3/+3
2004-01-27update signature of the socket constructorFred Drake-5/+7
(could someone backport this to Python 2.3.x please?)
2003-12-13After hearing from someone who gave up on timeout sockets due to aGuido van Rossum-0/+4
mistake in his code, I'm adding a note explaining that you should call settimeout() before connect().
2003-11-27Patch #849595: Add socket.shutdown() constants.Martin v. Löwis-2/+2
2003-08-05Add note about fileno not being usable as a normal file descriptor in Windows.Brett Cannon-0/+4
2003-07-20SF bug #774411: Typo in socket documentationRaymond Hettinger-1/+1
2003-06-29SF patch #760257: add socket.timeout exceptionRaymond Hettinger-1/+9
(Contributed by Bob Halley) Add documentation for the new socket.timeout exception.
2003-06-20SF #757229, fix libsocket.tex typoNeal Norwitz-1/+1
2003-04-25- add availability statements for some of the new APIsFred Drake-38/+38
- lots of general cleanup
2003-04-25Fix a copy-paste error: the paragraph about inet_ntop's use was copiedGuido van Rossum-2/+2
literally from inet_pton.
2003-04-25Add versionadded for has_ipv6 attributeNeal Norwitz-0/+1
2003-04-25Patch by Jp Calderone:Guido van Rossum-0/+42
- The socket module now provides the functions inet_pton and inet_ntop for converting between string and packed representation of IP addresses. See SF patch #658327. This still needs a bit of work in the doc area, because it is not available on all platforms (especially not on Windows).
2003-03-20add descriptions of {get,set}defaulttimeout.Skip Montanaro-0/+14
2002-06-13Major overhaul of timeout sockets:Guido van Rossum-21/+22
- setblocking(0) and settimeout(0) are now equivalent, and ditto for setblocking(1) and settimeout(None). - Don't raise an exception from internal_select(); let the final call report the error (this means you will get an EAGAIN error instead of an ETIMEDOUT error -- I don't care). - Move the select to inside the Py_{BEGIN,END}_ALLOW_THREADS brackets, so other theads can run (this was a bug in the original code). - Redid the retry logic in connect() and connect_ex() to avoid masking errors. This probably doesn't work for Windows yet; I'll fix that next. It may also fail on other platforms, depending on what retrying a connect does; I need help with this. - Get rid of the retry logic in accept(). I don't think it was needed at all. But I may be wrong.
2002-06-07Clarify the interaction between timeout/non-blocking mode, makefileGuido van Rossum-1/+10
and fromfd.
2002-06-07Fix typoNeal Norwitz-1/+1
2002-06-07Clarify the interaction between blocking and timeouts. Explain thatGuido van Rossum-16/+23
fromfd() assumes a blocking non-timeout socket.
2002-06-06Add version info, and fix another typo and wording spotted by /F. I think ↵Neal Norwitz-2/+4
this is what he meant. :-)
2002-06-06Fix typo spotted by Fredrik Lundh.Fred Drake-1/+1
2002-06-06Fix some markup errors and adjust wording slightly.Fred Drake-15/+15
2002-06-06SF patch 555085 (timeout socket implementation) by Michael Gilfix.Guido van Rossum-0/+23
I've made considerable changes to Michael's code, specifically to use the select() system call directly and to store the timeout as a C double instead of a Python object; internally, -1.0 (or anything negative) represents the None from the API. I'm not 100% sure that all corner cases are covered correctly, so please keep an eye on this. Next I'm going to try it Windows before Tim complains. No way is this a bugfix candidate. :-)
2001-12-22Fix the erroneous availability annotation for s.makefile() from the lastFred Drake-5/+7
checkin (my fault!). Wrap some long lines and fix some markup inconsistencies.
2001-12-21Add notes that fromfd() and s.makefile() are Unix-specific.Fred Drake-12/+14
This fixes SF bug #495896. Fix up various markup consistency & style guide conformance nits.
2001-12-05Added documentation of the sendall() method, and a note to the send() methodFred Drake-0/+13
that it does not guarantee that all data is sent. This closes SF patch #474307.
2001-10-20Use the \note and \warning macros where appropriate.Fred Drake-7/+7
2001-10-19When stating that some parameters to makefile() are similar to the open()Fred Drake-1/+2
parameters, given a hyperlink to the right part of the documentation to make it easier to look those up. Also, refer to the file() function/ constructor instead of open() now that that is where the actual docs for those parameters live. This closes SF bug #472004.
2001-10-11Document that keyfile and certfile are now optional.Jeremy Hylton-1/+1
XXX Forgot to mention this in the last socketmodule.c checkin.
2001-09-27Fix some markup errors.Fred Drake-2/+2
2001-09-25Added documentation for the SSL interface, contributed by Gerhard Häring.Fred Drake-0/+23
This closes SF patch #461337.
2001-08-04Document IPv6 changes. Contributed by itojun.Martin v. Löwis-26/+203
2001-01-10SourceForge patch #103140, checked in at fdrake's invitation. Minor fixes andEric S. Raymond-6/+6
additions to library docs.#
2000-10-10Revise the examples not to use the "from socket import *", and adjustFred Drake-5/+7
one comment in the example for clarity.
2000-09-06Added a \versionadded statement to the getfqdn() description.Fred Drake-0/+1
2000-08-16Document socket.getfqdn().Fred Drake-4/+12
2000-08-15Apply SF patch #101151, by Peter S-K, which fixes smtplib's passing of theThomas Wouters-0/+2
'helo' and 'ehlo' message, and exports the 'make_fqdn' function. This function should be moved to socket.py, if that module ever gets a Python wrapper.
2000-07-06Clean up markup to be more like recommended practice; only small changesFred Drake-6/+8
needed.
2000-06-30Say "manual page", not "man page", when referring to the Unix manual.Fred Drake-1/+1
2000-05-03Someone found the examples of poor practice on socket addresses!Fred Drake-3/+3
Spotted by Greg Kochanski <gpk@bell-labs.com>.