Untitled diff
171 lines
=============================================================================================
=============================================================================================
Python 2.7 Regular 32bit Install (_socket module)
Python 2.7 Embedded in Marmalade C++ (_socket module)
Module Attributes Dump Script here: http://code.activestate.com/recipes/137951-dump-all-the-attributes-of-an-object/
Module Attributes Dump Script here: http://code.activestate.com/recipes/137951-dump-all-the-attributes-of-an-object/
=============================================================================================
=============================================================================================
>>> dumpMod.dumpObj(_socket)
>>> dumpMod.dumpObj(_socket)
Documentation string: """Implementation module for socket operations. See
Documentation string: """Implementation module for socket operations. See
the socket module for documentation."""
the socket module for documentation."""
Built-in Methods: getaddrinfo, getdefaulttimeout, gethostbyaddr
Built-in Methods: fromfd, getaddrinfo, getdefaulttimeout, gethostbyaddr
gethostbyname, gethostbyname_ex, gethostname
gethostbyname, gethostbyname_ex, gethostname
getnameinfo, getprotobyname, getservbyname
getnameinfo, getprotobyname, getservbyname
getservbyport, htonl, htons, inet_aton, inet_ntoa
getservbyport, htonl, htons, inet_aton, inet_ntoa
ntohl, ntohs, setdefaulttimeout
inet_ntop, inet_pton, ntohl, ntohs, setdefaulttimeout
Classes:
Classes:
SocketType socket([family[, type[, proto]]]) -> socket object
SocketType socket([family[, type[, proto]]]) -> socket object
Open a socket of the given type. The family
Open a socket of the given type. The family
argument specifies the address family; it defaults
argument specifies the address family; it defaults
to AF_INET. The type argument specifies whether
to AF_INET. The type argument specifies whether
this is a stream (SOCK_STREAM, this is the default)
this is a stream (SOCK_STREAM, this is the default)
or datagram (SOCK_DGRAM) socket. The protocol
or datagram (SOCK_DGRAM) socket. The protocol
argument defaults to 0, specifying the default
argument defaults to 0, specifying the default
protocol. Keyword arguments are accepted. A
protocol. Keyword arguments are accepted. A
socket object represents one endpoint of a network
socket object represents one endpoint of a network
connection. Methods of socket objects (keyword
connection. Methods of socket objects (keyword
arguments not allowed): accept() -- accept a
arguments not allowed): accept() -- accept a
connection, returning new socket and client address
connection, returning new socket and client address
bind(addr) -- ...(1300 more chars)...
bind(addr) -- ...(1300 more chars)...
error <No documentation>
error <No documentation>
gaierror <No documentation>
gaierror <No documentation>
herror <No documentation>
herror <No documentation>
socket socket([family[, type[, proto]]]) -> socket object
socket socket([family[, type[, proto]]]) -> socket object
Open a socket of the given type. The family
Open a socket of the given type. The family
argument specifies the address family; it defaults
argument specifies the address family; it defaults
to AF_INET. The type argument specifies whether
to AF_INET. The type argument specifies whether
this is a stream (SOCK_STREAM, this is the default)
this is a stream (SOCK_STREAM, this is the default)
or datagram (SOCK_DGRAM) socket. The protocol
or datagram (SOCK_DGRAM) socket. The protocol
argument defaults to 0, specifying the default
argument defaults to 0, specifying the default
protocol. Keyword arguments are accepted. A
protocol. Keyword arguments are accepted. A
socket object represents one endpoint of a network
socket object represents one endpoint of a network
connection. Methods of socket objects (keyword
connection. Methods of socket objects (keyword
arguments not allowed): accept() -- accept a
arguments not allowed): accept() -- accept a
connection, returning new socket and client address
connection, returning new socket and client address
bind(addr) -- ...(1300 more chars)...
bind(addr) -- ...(1300 more chars)...
timeout <No documentation>
timeout <No documentation>
Attributes:
Attributes:
AF_APPLETALK 16
AF_APPLETALK 5
AF_ATMPVC 8
AF_BRIDGE 7
AF_DECnet 12
AF_DECnet 12
AF_INET 2
AF_INET 2
AF_INET6 23
AF_INET6 10
AF_IPX 6
AF_IPX 4
AF_IRDA 26
AF_NETROM 6
AF_SNA 11
AF_ROSE 11
AF_ROUTE 16
AF_SNA 22
AF_UNIX 1
AF_UNSPEC 0
AF_UNSPEC 0
AF_X25 9
AI_ADDRCONFIG 1024
AI_ADDRCONFIG 1024
AI_ALL 256
AI_ALL 256
AI_CANONNAME 2
AI_CANONNAME 2
AI_DEFAULT 1536
AI_MASK 7
AI_NUMERICHOST 4
AI_NUMERICHOST 4
AI_NUMERICSERV 8
AI_PASSIVE 1
AI_PASSIVE 1
AI_V4MAPPED 2048
AI_V4MAPPED 2048
CAPI <capsule object "_socket.CAPI" at 0x02429368>
AI_V4MAPPED_CFG 512
EAI_AGAIN 11002
CAPI <capsule object "_socket.CAPI" at 0xb62ed58>
EAI_BADFLAGS 10022
EAI_ADDRFAMILY 1
EAI_FAIL 11003
EAI_AGAIN 2
EAI_FAMILY 10047
EAI_BADFLAGS 3
EAI_MEMORY 8
EAI_BADHINTS 12
EAI_NODATA 11001
EAI_FAIL 4
EAI_NONAME 11001
EAI_FAMILY 5
EAI_SERVICE 10109
EAI_MAX 14
EAI_SOCKTYPE 10044
EAI_MEMORY 6
EAI_NODATA 7
EAI_NONAME 8
EAI_OVERFLOW -12
EAI_PROTOCOL 13
EAI_SERVICE 9
EAI_SOCKTYPE 10
EAI_SYSTEM 11
INADDR_ALLHOSTS_GROUP -536870911
INADDR_ALLHOSTS_GROUP -536870911
INADDR_ANY 0
INADDR_ANY 0
INADDR_BROADCAST -1
INADDR_BROADCAST -1
INADDR_LOOPBACK 2130706433
INADDR_LOOPBACK 2130706433
INADDR_MAX_LOCAL_GROUP-536870657
INADDR_MAX_LOCAL_GROUP-536870657
INADDR_NONE -1
INADDR_NONE -1
INADDR_UNSPEC_GROUP -536870912
INADDR_UNSPEC_GROUP -536870912
IPPORT_RESERVED 1024
IPPORT_RESERVED 1024
IPPORT_USERRESERVED 5000
IPPORT_USERRESERVED 5000
IPPROTO_ICMP 1
IPPROTO_ICMP 1
IPPROTO_IP 0
IPPROTO_IP 0
IPPROTO_IPV6 41
IPPROTO_RAW 255
IPPROTO_RAW 255
IPPROTO_TCP 6
IPPROTO_TCP 6
IPPROTO_UDP 17
IPPROTO_UDP 17
IPV6_CHECKSUM 26
IPV6_JOIN_GROUP 20
IPV6_DONTFRAG 14
IPV6_LEAVE_GROUP 21
IPV6_HOPLIMIT 21
IPV6_MULTICAST_HOPS 18
IPV6_HOPOPTS 1
IPV6_MULTICAST_IF 17
IPV6_JOIN_GROUP 12
IPV6_MULTICAST_LOOP 19
IPV6_LEAVE_GROUP 13
IPV6_UNICAST_HOPS 16
IPV6_MULTICAST_HOPS 10
IP_ADD_MEMBERSHIP 35
IPV6_MULTICAST_IF 9
IP_DROP_MEMBERSHIP 36
IPV6_MULTICAST_LOOP 11
IP_MULTICAST_IF 32
IPV6_PKTINFO 19
IP_MULTICAST_LOOP 34
IPV6_RECVRTHDR 38
IP_MULTICAST_TTL 33
IPV6_RECVTCLASS 40
IP_OPTIONS 4
IPV6_RTHDR 32
IP_TOS 1
IPV6_TCLASS 39
IP_TTL 2
IPV6_UNICAST_HOPS 4
MSG_CTRUNC 8
IPV6_V6ONLY 27
IP_ADD_MEMBERSHIP 12
IP_DROP_MEMBERSHIP 13
IP_HDRINCL 2
IP_MULTICAST_IF 9
IP_MULTICAST_LOOP 11
IP_MULTICAST_TTL 10
IP_OPTIONS 1
IP_RECVDSTADDR 25
IP_TOS 3
IP_TTL 4
MSG_CTRUNC 512
MSG_DONTROUTE 4
MSG_DONTROUTE 4
MSG_OOB 1
MSG_OOB 1
MSG_PEEK 2
MSG_PEEK 2
MSG_TRUNC 256
NI_DGRAM 16
NI_DGRAM 16
NI_MAXHOST 1025
NI_MAXHOST 1025
NI_MAXSERV 32
NI_MAXSERV 32
NI_NAMEREQD 4
NI_NAMEREQD 8
NI_NOFQDN 1
NI_NOFQDN 4
NI_NUMERICHOST 2
NI_NUMERICHOST 1
NI_NUMERICSERV 8
NI_NUMERICSERV 2
RCVALL_MAX 3
RCVALL_OFF 0
RCVALL_ON 1
RCVALL_SOCKETLEVELONLY2
SHUT_RD 0
SHUT_RD 0
SHUT_RDWR 2
SHUT_RDWR 2
SHUT_WR 1
SHUT_WR 1
SIO_KEEPALIVE_VALS 2550136836
SIO_RCVALL 2550136833
SOCK_DGRAM 2
SOCK_DGRAM 2
SOCK_RAW 3
SOCK_RAW 3
SOCK_RDM 4
SOCK_RDM 4
SOCK_SEQPACKET 5
SOCK_SEQPACKET 5
SOCK_STREAM 1
SOCK_STREAM 1
SOL_IP 0
SOL_IP 2
SOL_SOCKET 65535
SOL_SOCKET 1
SOL_TCP 6
SOL_TCP 3
SOL_UDP 17
SOL_UDP 17
SOMAXCONN 2147483647
SOMAXCONN 5
SO_ACCEPTCONN 2
SO_BROADCAST 6
SO_BROADCAST 32
SO_DEBUG 1
SO_DEBUG 1
SO_DONTROUTE 16
SO_DONTROUTE 5
SO_ERROR 4103
SO_ERROR 4
SO_EXCLUSIVEADDRUSE -5
SO_KEEPALIVE 9
SO_KEEPALIVE 8
SO_LINGER 13
SO_LINGER 128
SO_OOBINLINE 10
SO_OOBINLINE 256
SO_RCVBUF 8
SO_RCVBUF 4098
SO_RCVLOWAT 18
SO_RCVLOWAT 4100
SO_RCVTIMEO 20
SO_RCVTIMEO 4102
SO_REUSEADDR 2
SO_REUSEADDR 4
SO_SNDBUF 7
SO_SNDBUF 4097
SO_SNDLOWAT 19
SO_SNDLOWAT 4099
SO_SNDTIMEO 21
SO_SNDTIMEO 4101
SO_TYPE 3
SO_TYPE 4104
TCP_CORK 3
SO_USELOOPBACK 64
TCP_DEFER_ACCEPT 9
TCP_MAXSEG 4
TCP_INFO 11
TCP_KEEPCNT 6
TCP_KEEPIDLE 4
TCP_KEEPINTVL 5
TCP_LINGER2 8
TCP_MAXSEG 2
TCP_NODELAY 1
TCP_NODELAY 1
__file__ C:\Python27\DLLs\_socket.pyd
TCP_QUICKACK 12
TCP_SYNCNT 7
TCP_WINDOW_CLAMP 10
__name__ _socket
__name__ _socket
__package__ None
__package__ None
has_ipv6 True
has_ipv6 False