(self)
Close the socket
Close the socket
Close the socket
def _close(self):
        """
        Close the socket
        """
        if self.socket is not None:
            self.socket.close()
        self.socket = None
def _close ( self ) : if self . socket is not None : self . socket . close ( ) self . socket = None