(self, x=None, **kwargs)
| 642 | return sockets |
| 643 | |
| 644 | def recv(self, x=None, **kwargs): |
| 645 | # type: (Optional[int], Any) -> Optional[Packet] |
| 646 | try: |
| 647 | pkt = next(self.iter) |
| 648 | return pkt.__class__(bytes(pkt), **kwargs) |
| 649 | except StopIteration: |
| 650 | raise EOFError |
| 651 | |
| 652 | def close(self): |
| 653 | # type: () -> None |