summaryrefslogtreecommitdiff
path: root/Modules/socketmodule.c
AgeCommit message (Expand)AuthorLines
2002-06-07I decided to change the interaction between setblocking() andGuido van Rossum-5/+2
2002-06-07Major cleanup. Renamed static methods to avoid Py prefix. Other miscGuido van Rossum-295/+289
2002-06-07Whitespace normalization, folding long lines, uniform commentGuido van Rossum-221/+226
2002-06-07Correct several blunders in the timeout code, mostly my own fault (forGuido van Rossum-14/+12
2002-06-06SF patch 555085 (timeout socket implementation) by Michael Gilfix.Guido van Rossum-54/+420
2002-06-06The insint() function is not used. Nuke it.Guido van Rossum-15/+0
2002-06-06The tp_new implementation should initialize the errorhandler field,Guido van Rossum-1/+3
2002-04-27Repair widespread misuse of _PyString_Resize. Since it's clear peopleTim Peters-2/+2
2002-04-12PyObject_Del can now be used as a function designator.Neil Schemenauer-1/+1
2002-04-11Got rid of ifdefs for long-obsolete GUSI versions.Jack Jansen-15/+0
2002-04-01Use the PyModule_Add*() APIs instead of manipulating the module dictFred Drake-201/+217
2002-03-25Remove last occurrance of PyArg_GetInt. It is deprecated,Neal Norwitz-1/+1
2002-03-25Due to interaction between the MSL C library and the GUSI I/O library I can g...Jack Jansen-0/+5
2002-03-03OS/2 EMX port changes (Modules part of patch #450267):Andrew MacIntyre-6/+11
2002-03-01Patch #520062: Support IPv6 with VC.NET.Martin v. Löwis-0/+3
2002-02-17Moved the declaration of PySocketSock_Type from socketmodule.h toTim Peters-0/+5
2002-02-16Remove extraneous variable 'total', as reported by James Rucker.Martin v. Löwis-2/+1
2002-02-16Also fix the comment.Marc-André Lemburg-1/+1
2002-02-16Fix the name of the header file.Marc-André Lemburg-1/+1
2002-02-16Break SSL support out of _socket module and place it into a newMarc-André Lemburg-553/+92
2002-01-17Patch #477750: Use METH_ constants in Modules.Martin v. Löwis-2/+2
2002-01-12Include <unistd.h> in Python.h. Fixes #500924.Martin v. Löwis-4/+0
2001-12-22Add TCP socket options from glibc 2.2.4. Fixes #495680.Martin v. Löwis-0/+31
2001-12-02Remove INET6 define. Use ENABLE_IPV6 instead.Martin v. Löwis-11/+11
2001-11-28More sprintf -> PyOS_snprintf.Tim Peters-1/+2
2001-11-28sprintf -> PyOS_snprintf in some "obviously safe" cases.Tim Peters-4/+7
2001-11-28Fix docstring typoAndrew M. Kuchling-1/+1
2001-11-19Test for negative buffer sizes. Fixes #482871.Martin v. Löwis-0/+5
2001-11-09Fixes to compile cPickle.c & socketmodule.c on cygwin and possiblyMichael W. Hudson-3/+6
2001-11-07Fix memory leaks detecting in bug report #478003.Martin v. Löwis-1/+5
2001-11-05SF patch 473749 compile under OS/2 VA C++, from Michael Muller.Tim Peters-1/+4
2001-11-02Correct getnameinfo refcounting and tuple parsing. Fixes #476648.Martin v. Löwis-6/+4
2001-10-30PySocketSock_connect_ex(): On Windows, return the correct Windows exitTim Peters-1/+6
2001-10-28Oops. In the tp_name field, the name should be "_socket.socket", notGuido van Rossum-2/+2
2001-10-27Made SocketType and socket the same thing: a subclassable type whoseGuido van Rossum-119/+167
2001-10-26Add sendall() method, which loops until all data is written or anGuido van Rossum-2/+44
2001-10-25After discussion with itojun, it was clarified that Tru64 is in error,Martin v. Löwis-1/+3
2001-10-24SF patch #474590 -- RISC OS supportGuido van Rossum-15/+10
2001-10-24Fix typo. Thanks to Jack Jansen for spotting it.Martin v. Löwis-1/+1
2001-10-24Include netdb.h to detect getaddrinfo. Work around problem with getaddrinfoMartin v. Löwis-0/+6
2001-10-19(Hopefully) fix SF bug #472675: CVS socketmodule now doesn't compileGuido van Rossum-1/+1
2001-10-18Expose three OpenSSL API calls for dealing with the PRNG.Jeremy Hylton-0/+67
2001-10-15Fix a bunch of warnings reported by Skip.Guido van Rossum-8/+8
2001-10-13Test for __sun instead of __sun__, since SUNWspro only defines the latter;Martin v. Löwis-1/+1
2001-10-12PySocket_getaddrinfo(): fix two refcount bugs, both having to do withGuido van Rossum-3/+6
2001-10-11Use PySocket_Err() instead of PyErr_SetFromErrno().Jeremy Hylton-3/+2
2001-10-11Commit parts of SF patch #462759Jeremy Hylton-68/+68
2001-10-11Convert socket methods to use METH_O and METH_NOARGS where possible.Jeremy Hylton-50/+39
2001-10-11Add a bunch of SSL error constantsJeremy Hylton-0/+12
2001-10-10Lots of code reorganization with a few small API changes.Jeremy Hylton-45/+113