summaryrefslogtreecommitdiff
path: root/Lib/plat-win/socket.py
Commit message (Collapse)AuthorAgeFilesLines
* Revise the wrapper structure for the socket module:Fred Drake2000-08-161-168/+0
| | | | | | | | | | | | | | | socket.py is used for all platforms, and it defines the additional classes and alternate socket() function for Windows and BeOS systems. The plat-*/socket.py files are no longer needed, since there is a shared socket.py. make_fqdn() is provided, but I decided to call it getfqdn() to be consistent with the other names in the socket module. Since it is really a "get" operation and does not create a new name, this is the right name to give it. Move the docstring here from the _socket module.
* In _fileobject, optimize read() a bit (it could be really slow), andGuido van Rossum2000-02-021-14/+30
| | | | remove "import string" -- use string methods instead!
* Added table of WSA error codes.Guido van Rossum1998-05-061-0/+19
|
* Add connect_ex to list of methods.Guido van Rossum1998-04-141-1/+1
|
* Reindented with tabs only (seems fair to the Windows crowd).Guido van Rossum1998-03-261-99/+99
|
* Use ``0'' instead of ``None'' to reset the underlying object in closeGuido van Rossum1997-11-041-2/+2
| | | | | | | | methods. Using None causes problems if the destructor is called after the __builtin__ module has already been destroyed (unfortunately, this can happen!). I can't just delete the object because it is actually tested for (if self._sock: ...). Setting it to 0 is a bit weird but works.
* Get rid of debug print statementsGuido van Rossum1996-08-201-3/+0
|
* socket wrapper module around _socket for all Window platformsGuido van Rossum1996-06-261-0/+136