作者:草莓顽子该_589 | 来源:互联网 | 2023-06-23 11:44
class SocketType(object):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| def bind(self, address): # real signature unknown; restored from __doc__
"""
bind(address)
Bind the socket to a local address. For IP sockets, the address is a
pair (host, port); the host must refer to the local host. For raw packet
sockets the address is a tuple (ifname, proto [,pkttype [,hatype]])
"""
pass
def close(self): # real signature unknown; restored from __doc__
"""
close()
Close the socket. It cannot be used after this call.
"""
pass |