summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove useless test (flowinfo is unsigned).Charles-François Natali2012-06-231-2/+2
|\
| * Remove useless test (flowinfo is unsigned).Charles-François Natali2012-06-231-2/+2
| |
* | Issue #14310: inter-process socket duplication for windowsKristján Valur Jónsson2012-04-071-7/+66
| |
* | Issue #14300: Under Windows, sockets created using socket.dup() now allow ↵Antoine Pitrou2012-03-311-1/+1
| | | | | | | | | | | | overlapped I/O. Patch by sbt.
* | Fix warning when compiling socketmodule.c with VS2010Kristján Valur Jónsson2012-03-311-0/+1
| | | | | | | | VS2010 defineds the old errno constants in addition to the WSA* ones.
* | Issue #10951: Fix warnings in the socket module.Ross Lagerwall2012-03-061-4/+4
| |
* | Issue #13777: Add PF_SYSTEM sockets on OS X.Martin v. Löwis2012-02-031-0/+107
| | | | | | | | Patch by Michael Goderbauer.
* | Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch byCharles-François Natali2012-01-021-8/+21
|\ \ | |/ | | | | Vilmos Nebehaj.
| * Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch byCharles-François Natali2012-01-021-8/+21
| | | | | | | | Vilmos Nebehaj.
* | Issue #8623: Fix some strict-aliasing warnings. Patch by David Watson.Charles-François Natali2011-12-231-16/+9
| |
* | Issue #12809: Expose IP_TRANSPARENT in the socket module. Patch by MichaelCharles-François Natali2011-12-171-0/+3
| | | | | | | | Farrell.
* | Issue #13560: os.strerror() now uses the current locale encoding instead of ↵Victor Stinner2011-12-171-3/+2
| | | | | | | | UTF-8
* | Issue #8373: The filesystem path of AF_UNIX sockets now uses the filesystemAntoine Pitrou2011-12-161-6/+19
| | | | | | | | | | encoding and the surrogateescape error handler, rather than UTF-8. Patch by David Watson.
* | Use the new Unicode APIVictor Stinner2011-11-221-1/+1
| | | | | | | | | | | | | | | | * Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0) * Replce PyUnicode_FromUnicode(str, len) by PyUnicode_FromWideChar(str, len) * Replace Py_UNICODE by wchar_t * posix_putenv() uses PyUnicode_FromFormat() to create the string, instead of PyUnicode_FromUnicode() + _snwprintf()
* | socket_gethostname() uses a wchar_t* with PyMem_Malloc() to avoid theVictor Stinner2011-11-171-16/+26
| | | | | | | | old Unicode API.
* | Issue #7777: socket: Add Reliable Datagram Sockets (PF_RDS) support.Charles-François Natali2011-11-101-0/+77
| |
* | Issue #12619: Expose socket.SO_BINDTODEVICE constantVictor Stinner2011-10-251-0/+3
| |
* | Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis2011-10-141-1/+1
| |
* | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy.Antoine Pitrou2011-10-121-60/+56
| |
* | Add API for static strings, primarily good for identifiers.Martin v. Löwis2011-10-091-1/+3
| | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
* | Issue #10141: fix socketmodule compilation on Linux systems with <linux/can.h>Charles-François Natali2011-10-071-3/+3
| | | | | | | | but without AF_CAN definition.
* | Issue #10141: socket: add SocketCAN (PF_CAN) support. Initial patch by MatthiasCharles-François Natali2011-10-061-0/+105
| | | | | | | | Fuchs, updated by Tiago Gonçalves.
* | Use the new Py_ARRAY_LENGTH macroVictor Stinner2011-09-281-2/+2
| |
* | Issue #12837: POSIX.1-2008 allows socklen_t to be a signed integer: re-enableCharles-François Natali2011-08-281-1/+2
| | | | | | | | | | the check against negative values, and add a note on this surprising test. Patch by David Watson.
* | Issue #12287: Fix a stack corruption in ossaudiodev module when the FD isCharles-François Natali2011-08-281-8/+4
|\ \ | |/ | | | | greater than FD_SETSIZE.
| * Issue #12287: Fix a stack corruption in ossaudiodev module when the FD isCharles-François Natali2011-08-281-8/+4
| | | | | | | | greater than FD_SETSIZE.
* | sock_sendmsg/sock_recvmsg: Use {0} to 0-initialize aggregate types withCharles-François Natali2011-08-241-7/+2
| | | | | | | | automatic storage class.
* | Issue12810: Remove check for negative unsigned value in socketmodule.c. PatchCharles-François Natali2011-08-241-1/+1
| | | | | | | | by Joel Stanley.
* | Close #12826: fix socketmodule.c for OpenBSD, include sys/uio.hVictor Stinner2011-08-231-0/+4
| | | | | | | | Patch written by Remi Pointel.
* | Attempt to address Windows buildbot failuresNick Coghlan2011-08-221-1/+1
| |
* | Add support for the send/recvmsg API to the socket module. Patch by David ↵Nick Coghlan2011-08-221-0/+809
| | | | | | | | Watson and Heiko Wundram. (Closes #6560)
* | #12725: merge with 3.2.Ezio Melotti2011-08-141-3/+3
|\ \ | |/
| * #12725: fix working. Patch by Ben Hayden.Ezio Melotti2011-08-141-3/+3
| |
* | merge heads.Gregory P. Smith2011-06-051-4/+5
|\ \
| * | socket.sendto(): exit directly after setting the errorVictor Stinner2011-05-261-4/+5
| | | | | | | | | | | | Dummy change to avoid a false positive with the Clang Static Analyzer.
* | | Further documentation updates to be consistent with doc standards and commentsGregory P. Smith2011-05-231-2/+2
|/ / | | | | | | Ezio Melotti pointed out.
* | Issue #1746656: make if_nameindex(), if_indextoname() and if_nametoindex()Charles-François Natali2011-05-201-31/+30
| | | | | | | | accept and return str instead of bytes arrays. Add some more tests.
* | issue #1746656: Fix for OS X. configure and #include changes so that the socketGregory P. Smith2011-05-151-0/+8
| | | | | | | | module compiles again on OS X with its more annoying #include requirements.
* | Issue #1746656: Add if_nameindex, if_nametoindex, if_indextonameGregory P. Smith2011-05-151-0/+110
| | | | | | | | methods to the socket module.
* | Issue #8498: In socket.accept(), allow to specify 0 as a backlog value inAntoine Pitrou2011-05-101-4/+7
|\ \ | |/ | | | | order to accept exactly one connection. Patch by Daniel Evers.
| * Issue #8498: In socket.accept(), allow to specify 0 as a backlog value inAntoine Pitrou2011-05-101-4/+7
| | | | | | | | order to accept exactly one connection. Patch by Daniel Evers.
* | Issue #5421: merge fixAntoine Pitrou2011-03-171-6/+17
|\ \ | |/
| * Issue #5421: merge fixAntoine Pitrou2011-03-171-6/+17
| |\
| | * Issue #5421: Fix misleading error message when one of socket.sendto()'sAntoine Pitrou2011-03-171-6/+17
| | | | | | | | | | | | arguments has the wrong type. Patch by Nikita Vetoshkin.
* | | #11565: Merge with 3.2.Ezio Melotti2011-03-161-6/+6
|\ \ \ | |/ /
| * | #11565: Merge with 3.1.Ezio Melotti2011-03-161-6/+6
| |\ \ | | |/
| | * #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-6/+6
| | |
| | * Merged revisions 85868 via svnmerge fromAntoine Pitrou2010-10-271-12/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85868 | antoine.pitrou | 2010-10-27 22:13:57 +0200 (mer., 27 oct. 2010) | 3 lines Issue #8852: Allow the socket module to build on OpenSolaris. ........
| | * Merged revisions 85586-85587,85596-85598 via svnmerge fromGregory P. Smith2010-10-171-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85586 | gregory.p.smith | 2010-10-16 17:17:24 -0700 (Sat, 16 Oct 2010) | 2 lines fix for netbsd. ........ r85587 | gregory.p.smith | 2010-10-16 17:43:10 -0700 (Sat, 16 Oct 2010) | 3 lines applying netbsd-wizs-mod.patch from issue5510 - fixes for netbsd (and dragonflybsd?) ........ r85596 | gregory.p.smith | 2010-10-16 19:14:36 -0700 (Sat, 16 Oct 2010) | 6 lines Fix multiprocessing Semaphore's on netbsd5. SEM_VALUE_MAX is defined as (~0U) on NetBSD which was causing it to appear as -1 when used as a signed int for _multprocessing.SemLock.SEM_VALUE_MAX. This works around the problem by substituting INT_MAX on systems where it appears negative when used as an int. ........ r85597 | gregory.p.smith | 2010-10-16 19:57:19 -0700 (Sat, 16 Oct 2010) | 2 lines skip test_itimer_virtual on NetBSD to prevent the test suite from hanging. ........ r85598 | gregory.p.smith | 2010-10-16 20:09:12 -0700 (Sat, 16 Oct 2010) | 2 lines Avoid hanging the test on netbsd5. ........
| | * Merged revisions 85404 via svnmerge fromGregory P. Smith2010-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85404 | gregory.p.smith | 2010-10-12 20:39:47 -0700 (Tue, 12 Oct 2010) | 2 lines fix compliation on NetBSD ........