(self, fut, sock, data, address)
| 611 | return await fut |
| 612 | |
| 613 | def _sock_sendto(self, fut, sock, data, address): |
| 614 | if fut.done(): |
| 615 | # Future cancellation can be scheduled on previous loop iteration |
| 616 | return |
| 617 | try: |
| 618 | n = sock.sendto(data, 0, address) |
| 619 | except (BlockingIOError, InterruptedError): |
| 620 | return |
| 621 | except (SystemExit, KeyboardInterrupt): |
| 622 | raise |
| 623 | except BaseException as exc: |
| 624 | fut.set_exception(exc) |
| 625 | else: |
| 626 | fut.set_result(n) |
| 627 | |
| 628 | async def sock_connect(self, sock, address): |
| 629 | """Connect to a remote socket at address. |
nothing calls this directly
no test coverage detected