Closed Pixelstormer closed 2 weeks ago
Thanks for the report! We should probably list this information in one place and link to it from elsewhere to avoid drift in the future.
I think perhaps quinn-proto should not document platform support, because availability seems fully dependent on the caller?
So I think the current list is:
For implementations that use an AsyncUdpSocket
based on quinn-udp.
Of the three
local_ip
methods that exist onquinn_proto::Connection
,quinn::Connection
, andquinn::Connecting
, they each list a different set of platforms on which the method is supposedly available.The proto
Connection
lists Linux and Windows, the quinnConnection
lists only Linux, andConnecting
lists Linux, FreeBSD and macOS. The documentation of all three of these functions should be reconciled to whatever the true set of supported platforms is.