Exemplo n.º 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()
Exemplo n.º 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()
Exemplo n.º 3
0
 def close(self):
     self._sslobj = None
     self._sock = socket._closedsocket()
Exemplo n.º 4
0
 def close(self):
     self._sslobj = None
     self._sock = socket._closedsocket()