def __init__(self, family=_socket.AF_INET, type=_socket.SOCK_STREAM, proto=0, _sock=None): if _sock is None: _sock = socket.upstream.socket(family=family, type=type, proto=proto) SocketBase.__init__(self, _sock)
def __init__(self, family=_socket.AF_INET, type=_socket.SOCK_STREAM, proto=0, _sock=None): if _sock is None: _sock = socket.upsocket.socket(family=family, type=type, proto=proto) _sock.bind(self.source_address) SocketBase.__init__(self, _sock)
def __init__(self, family=_socket.AF_INET, type=_socket.SOCK_STREAM, proto=0,_sock=None): if _sock is None: _sock = socket.upsocket.socket(family=family,type=type,proto=proto) _sock.bind(self.source_address) SocketBase.__init__(self,_sock)