Exemple #1
0
    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()
Exemple #2
0
    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()
Exemple #3
0
 def close(self):
     self._sslobj = None
     self._sock = socket._closedsocket()
Exemple #4
0
 def close(self):
     self._sslobj = None
     self._sock = socket._closedsocket()