Ticket #6826 enhancement new
Pass scope IDs and flow info along when receiving datagrams
|Reported by:||habnabit||Owned by:|
As a followup to #5086, Twisted should pass along the scope ID and flow info for incoming datagrams. #5086 slices these off of the address structure generated when a datagram is received, as code currently expects a 2-tuple.
The implementation that seems most obvious is to, instead of a 2-tuple, return an object that can be iterated over to provide the host and port (so it can be unpacked like a 2-tuple) but has scope_id and flow info attributes.