This module implements a TransportEndpoint for UDP based on the asyncio DatagramProtocol.
This is a simple version that works only for clients (by creating a dedicated
unbound but connected socket for each communication partner) and probably not
with multicast (it is assumed to be unsafe for multicast), which can be
expected to work even on platforms where the
udp6 module can not be
made to work (Android, OSX, Windows for missing
recvmsg and socket options,
util.asyncio.RecvmsgSelectorDatagramTransport is not
This transport is experimental, likely to change, and not fully tested yet (because the test suite is not yet ready to matrix-test the same tests with different transport implementations, and because it still fails in proxy blockwise tests).
TransportEndpointSimple6(ctx: aiocoap.interfaces.MessageManager, log, loop)¶
create_client_transport_endpoint(ctx, log, loop)¶