Logo Search packages:      
Sourcecode: m2crypto version File versions  Download package

def M2Crypto::SSL::Connection::Connection::setblocking (   self,
  mode 
)

Set this connection's underlying socket to _mode_.

Definition at line 142 of file Connection.py.

00142                                :
        """Set this connection's underlying socket to _mode_."""
        self.socket.setblocking(mode)
        if mode:
            self.send = self.write = self._write_bio
            self.recv = self.read = self._read_bio
        else:
            self.send = self.write = self._write_nbio
            self.recv = self.read = self._read_nbio

    def fileno(self):


Generated by  Doxygen 1.6.0   Back to index