diff options
author | Fred Drake <fdrake@acm.org> | 2001-02-02 02:51:21 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-02-02 02:51:21 (GMT) |
commit | 0c07b5081164555ffe5393bff51f0638aeb7da34 (patch) | |
tree | 7909de5486db4e88f9f9c8da60fabdbeeb5c0dc1 /Lib/plat-sunos4 | |
parent | 57d943ad3801fbc71756c4f555e4bc65c883a2e1 (diff) | |
download | cpython-0c07b5081164555ffe5393bff51f0638aeb7da34.zip cpython-0c07b5081164555ffe5393bff51f0638aeb7da34.tar.gz cpython-0c07b5081164555ffe5393bff51f0638aeb7da34.tar.bz2 |
The socket constants have been moved to the socket module for a long time;
the standard library does not use the SOCKET module any more, and it is
not defined for all platforms (Windows, in particular).
Diffstat (limited to 'Lib/plat-sunos4')
-rwxr-xr-x | Lib/plat-sunos4/SOCKET.py | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/Lib/plat-sunos4/SOCKET.py b/Lib/plat-sunos4/SOCKET.py deleted file mode 100755 index 65ce4bc..0000000 --- a/Lib/plat-sunos4/SOCKET.py +++ /dev/null @@ -1,78 +0,0 @@ -# Generated by h2py from /usr/include/sys/socket.h -SOCK_STREAM = 1 -SOCK_DGRAM = 2 -SOCK_RAW = 3 -SOCK_RDM = 4 -SOCK_SEQPACKET = 5 -SO_DEBUG = 0x0001 -SO_ACCEPTCONN = 0x0002 -SO_REUSEADDR = 0x0004 -SO_KEEPALIVE = 0x0008 -SO_DONTROUTE = 0x0010 -SO_BROADCAST = 0x0020 -SO_USELOOPBACK = 0x0040 -SO_LINGER = 0x0080 -SO_OOBINLINE = 0x0100 -SO_DONTLINGER = (~SO_LINGER) -SO_SNDBUF = 0x1001 -SO_RCVBUF = 0x1002 -SO_SNDLOWAT = 0x1003 -SO_RCVLOWAT = 0x1004 -SO_SNDTIMEO = 0x1005 -SO_RCVTIMEO = 0x1006 -SO_ERROR = 0x1007 -SO_TYPE = 0x1008 -SOL_SOCKET = 0xffff -AF_UNSPEC = 0 -AF_UNIX = 1 -AF_INET = 2 -AF_IMPLINK = 3 -AF_PUP = 4 -AF_CHAOS = 5 -AF_NS = 6 -AF_NBS = 7 -AF_ECMA = 8 -AF_DATAKIT = 9 -AF_CCITT = 10 -AF_SNA = 11 -AF_DECnet = 12 -AF_DLI = 13 -AF_LAT = 14 -AF_HYLINK = 15 -AF_APPLETALK = 16 -AF_NIT = 17 -AF_802 = 18 -AF_OSI = 19 -AF_X25 = 20 -AF_OSINET = 21 -AF_GOSIP = 22 -AF_MAX = 21 -PF_UNSPEC = AF_UNSPEC -PF_UNIX = AF_UNIX -PF_INET = AF_INET -PF_IMPLINK = AF_IMPLINK -PF_PUP = AF_PUP -PF_CHAOS = AF_CHAOS -PF_NS = AF_NS -PF_NBS = AF_NBS -PF_ECMA = AF_ECMA -PF_DATAKIT = AF_DATAKIT -PF_CCITT = AF_CCITT -PF_SNA = AF_SNA -PF_DECnet = AF_DECnet -PF_DLI = AF_DLI -PF_LAT = AF_LAT -PF_HYLINK = AF_HYLINK -PF_APPLETALK = AF_APPLETALK -PF_NIT = AF_NIT -PF_802 = AF_802 -PF_OSI = AF_OSI -PF_X25 = AF_X25 -PF_OSINET = AF_OSINET -PF_GOSIP = AF_GOSIP -PF_MAX = AF_MAX -SOMAXCONN = 5 -MSG_OOB = 0x1 -MSG_PEEK = 0x2 -MSG_DONTROUTE = 0x4 -MSG_MAXIOVLEN = 16 |