asyncio.DatagramProtocol.error_received()

DatagramProtocol.error_received(exc)

Called when a previous send or receive operation raises an OSError. exc is the OSError instance.

This method is called in rare conditions, when the transport (e.g. UDP) detects that a datagram couldn’t be delivered to its recipient. In many conditions though, undeliverable datagrams will be silently dropped.

doc_python
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.