SSLType = class SSL(__builtin__.object)
SocketType = class _socketobject(__builtin__.object)
Methods defined here:
listen(self, *args)
listen(backlog)
Enable a server to accept connections. The backlog argument must be at
least 1; it specifies the number of unaccepted connection that the system
will allow before refusing new connections.
makefile(self, mode='r', bufsize=-1)
makefile([mode[, bufsize]]) -> file object
Return a regular file object corresponding to the socket. The mode
and bufsize arguments are as for the built-in open() function.
sendall(self, *args)
sendall(data[, flags])
Send a data string to the socket. For the optional flags
argument, see the Unix manual. This calls send() repeatedly
until all data is sent. If an error occurs, it's impossible
to tell how much data has been sent.
setblocking(self, *args)
setblocking(flag)
Set the socket to blocking (flag is true) or non-blocking (false).
setblocking(True) is equivalent to settimeout(None);
setblocking(False) is equivalent to settimeout(0.0).
setsockopt(self, *args)
setsockopt(level, option, value)
Set a socket option. See the Unix manual for level and option.
The value argument can either be an integer or a string.
settimeout(self, *args)
settimeout(timeout)
Set a timeout on socket operations. 'timeout' can be a float,
giving in seconds, or None. Setting a timeout of None disables
the timeout feature and is equivalent to setblocking(1).
Setting a timeout of zero is the same as setblocking(0).
shutdown(self, *args)
shutdown(flag)
Shut down the reading side of the socket (flag == SHUT_RD), the writing side
of the socket (flag == SHUT_WR), or both ends (flag == SHUT_RDWR).
Data and other attributes defined here:
__slots__ = ['_sock', 'send', 'recv', 'sendto', 'recvfrom', '__weakref...
__weakref__ = <attribute '__weakref__' of '_socketobject' objects>
list of weak references to the object (if defined)
recv = <member 'recv' of '_socketobject' objects>
recvfrom = <member 'recvfrom' of '_socketobject' objects>
send = <member 'send' of '_socketobject' objects>
sendto = <member 'sendto' of '_socketobject' objects>

