mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-46805: Add low level UDP socket functions to asyncio (GH-31455)
This commit is contained in:
parent
7e473e94a5
commit
9f04ee569c
12 changed files with 489 additions and 7 deletions
|
@ -189,9 +189,18 @@ See also the main documentation section about the
|
|||
* - ``await`` :meth:`loop.sock_recv_into`
|
||||
- Receive data from the :class:`~socket.socket` into a buffer.
|
||||
|
||||
* - ``await`` :meth:`loop.sock_recvfrom`
|
||||
- Receive a datagram from the :class:`~socket.socket`.
|
||||
|
||||
* - ``await`` :meth:`loop.sock_recvfrom_into`
|
||||
- Receive a datagram from the :class:`~socket.socket` into a buffer.
|
||||
|
||||
* - ``await`` :meth:`loop.sock_sendall`
|
||||
- Send data to the :class:`~socket.socket`.
|
||||
|
||||
* - ``await`` :meth:`loop.sock_sendto`
|
||||
- Send a datagram via the :class:`~socket.socket` to the given address.
|
||||
|
||||
* - ``await`` :meth:`loop.sock_connect`
|
||||
- Connect the :class:`~socket.socket`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue