Guido van Rossum
|
91ba64ddd9
|
socket_type -> SocketType
|
1997-06-02 22:18:09 +00:00 |
|
Guido van Rossum
|
3b4b6fc602
|
Add socket.socket_type, as discussed on c.l.p.
|
1997-05-21 14:37:37 +00:00 |
|
Guido van Rossum
|
fe28fa05e9
|
Remove the last three uses of PyArg_GetInt() from the source.
|
1997-05-15 19:09:26 +00:00 |
|
Guido van Rossum
|
aa948df877
|
In makesockaddr(), if we don't know the address family, don't raise an
exception -- return it as a tuple. Seems useful in promiscuous mode.
|
1997-05-07 17:41:48 +00:00 |
|
Guido van Rossum
|
644a12b00c
|
Tweaks to keep the Microsoft compiler quier.
|
1997-04-09 19:24:53 +00:00 |
|
Barry Warsaw
|
752300bbdf
|
Check of return values and proper error handling.
|
1997-01-03 17:18:10 +00:00 |
|
Guido van Rossum
|
25405c786b
|
Added the new getprotobyname() call to the module overview at the top.
|
1996-12-19 16:42:52 +00:00 |
|
Guido van Rossum
|
3901d85277
|
Added getprotobyname() interface.
|
1996-12-19 16:35:04 +00:00 |
|
Guido van Rossum
|
fb4130d1f1
|
Added extern decl for gethostname() to keep gcc -Wall happy.
|
1996-12-10 15:17:08 +00:00 |
|
Guido van Rossum
|
a376cc5cc8
|
Keep gcc -Wall happy.
|
1996-12-05 23:43:35 +00:00 |
|
Guido van Rossum
|
d266eb460e
|
New permission notice, includes CNRI.
|
1996-10-25 14:44:06 +00:00 |
|
Guido van Rossum
|
084814624d
|
Don't close an already closed socket.
|
1996-10-12 14:07:22 +00:00 |
|
Guido van Rossum
|
6f489d989d
|
Slightly different Windows ifdefs
|
1996-06-28 20:15:15 +00:00 |
|
Guido van Rossum
|
8d665e6b51
|
changed windows test symbols; removed debug printf from sockets
|
1996-06-26 18:22:49 +00:00 |
|
Guido van Rossum
|
be32c8921c
|
More rational support for Windows (tested on Roj's NT 3.5 machine only).
Use PyArg_ParseTuple() where it makes sense.
|
1996-06-20 16:25:29 +00:00 |
|
Guido van Rossum
|
006bf91530
|
ntohs, ntohl, htons, htonl -- thanks to Lance
|
1996-06-12 04:04:55 +00:00 |
|
Guido van Rossum
|
d639d4d6d6
|
more changes for Windows, sigh
|
1996-06-12 04:04:22 +00:00 |
|
Guido van Rossum
|
65af28a0f4
|
Calculate length of AF_UNIX addr struct portably in getsockaddrarg().
|
1996-06-11 18:36:33 +00:00 |
|
Guido van Rossum
|
53a9bf8164
|
Get rid of obsolete allowbroadcast().
Avoid core dumps in resizestring().
|
1996-06-11 18:35:24 +00:00 |
|
Guido van Rossum
|
5555854e85
|
Windows/PC changes
|
1996-05-23 22:54:50 +00:00 |
|
Guido van Rossum
|
dc1c64a148
|
remove unused variables
|
1996-02-27 15:21:19 +00:00 |
|
Jack Jansen
|
508537b9c9
|
Include GUSI.h if using gusi-sockets
|
1996-02-14 15:57:45 +00:00 |
|
Guido van Rossum
|
ca42b1673b
|
clear addr buffer before calling getsockname
|
1996-01-12 01:36:05 +00:00 |
|
Guido van Rossum
|
7c53b77733
|
plug some leaks
|
1995-09-13 18:39:47 +00:00 |
|
Guido van Rossum
|
30b6b2b032
|
add setblocking(); NT changes; null-terminate Unix path
|
1995-06-14 22:28:08 +00:00 |
|