chrysn / aiocoap

The Python CoAP library
Other
262 stars 119 forks source link

udp6 #295

Closed radkokeves closed 1 year ago

radkokeves commented 1 year ago

udp6 is always selected, even when not enabled on host https://github.com/chrysn/aiocoap/blob/5a40b21aa5d00583645b4e617a5f0a30ab129180/aiocoap/defaults.py

chrysn commented 1 year ago

The IPv6 stack of modern OSes is capable of also reaching and being reached by legacy IPv4 systems, also when no IPv6 addresses are available. aiocoap uses that interface because that interface is specified more cleanly even for IPv4 traffic.

radkokeves commented 1 year ago

thank you very much for clarification (i wasn't aware of that), but it is really confusing, when udp6 is referenced in log files followed by ipv4 address