Returns a tuple containing (cls, pkt_data, time)
(self, x=MTU)
| 122 | return len(sx) |
| 123 | |
| 124 | def recv_raw(self, x=MTU): |
| 125 | # type: (int) -> Tuple[Optional[Type[Packet]], Optional[bytes], Optional[float]] # noqa: E501 |
| 126 | """Returns a tuple containing (cls, pkt_data, time)""" |
| 127 | return self.basecls, self.ins.recv(0), time.time() |
| 128 | |
| 129 | @staticmethod |
| 130 | def select(sockets, remain=conf.recv_poll_rate): |