Blocking socket will wait until data is received and return up to 1024 bytes
(self)
| 80 | self.send_raw(req.encode("ascii") + data_bytes) |
| 81 | |
| 82 | def recv_raw(self): |
| 83 | ''' |
| 84 | Blocking socket will wait until data is received and return up to 1024 bytes |
| 85 | ''' |
| 86 | return self.conn.sock.recv(1024) |
| 87 | |
| 88 | def expect_timeout(self, seconds): |
| 89 | # Wait for response, but expect a timeout disconnection |
no outgoing calls
no test coverage detected