Lines Matching defs:select
35 import select
1771 select.select([oSocket, oWakeupR], [], [oSocket, oWakeupR], cMsTimeout / 1000.0);
1775 reporter.log('socket.select() on accept was canceled');
1778 reporter.logXcpt('socket.select() on accept');
1822 ttRc = select.select([oWakeupR], [oSocket], [oSocket, oWakeupR], cMsTimeout / 1000.0);
1824 raise socket.error(errno.ETIMEDOUT, 'select timed out');
1831 reporter.fatalXcpt('socket.select() on connect failed');
1866 # Create wakeup socket pair for unix (select doesn't wake up on socket close on Linux).
1885 oWakeupR = oSocket; # Avoid select failure.
1963 ttRc = select.select([], [self.oSocket], [self.oSocket], (cMsTimeout - cMsElapsed) / 1000.0);
1965 reporter.error('TranportTcp.sendBytes: select returned with exception');
1971 reporter.errorXcpt('TranportTcp.sendBytes: select failed');
2023 ttRc = select.select([self.oSocket], [], [self.oSocket], (cMsTimeout - cMsElapsed) / 1000.0);
2025 reporter.error('TranportTcp.recvBytes: select returned with exception');
2033 reporter.errorXcpt('TranportTcp.recvBytes: select failed');
2065 ttRc = select.select([], [], [self.oSocket], 0.0);
2076 ttRc = select.select([self.oSocket], [], [], cMsTimeout / 1000.0);