The receive side of an open socket.
pull returns everything queued since the last pull, or waits for the
next packet; after a terminal error it returns what is queued, then
fails with that error until the reader's scope closes. address is
the bound address. dropped() counts packets the receive buffer
discarded. join_multicast joins a group until its scope closes; its
interface selects where packets arrive.
Attributes#
| Attribute | Type | Description |
|---|---|---|
pull | Effect[tuple[Datagram, ...], DatagramSocketError] | |
address | InetAddress |
Functions#
dropped#
dropped() -> intReturns int
def dropped(self) -> int: ...