def close(self): """close the current connection on the socket After this point all operations attempted on this socket will fail, and once any queued data is flushed, the remote end will not receive any more data """ self._sock = socket._closedsocket()
def close(self): """close the current connection on the socket After this point all operations attempted on this socket will fail, and once any queued data is flushed, the remote end will not receive any more data """ self._closed = True self._sock = socket._closedsocket()
def close(self): self._sslobj = None self._sock = socket._closedsocket()