Opened 13 months ago

Last modified 9 months ago

#6647 enhancement new

Accept embedded scope ids on IPv6 addresses when calling listenUDP

Reported by: habnabit Owned by:
Priority: normal Milestone:
Component: core Keywords: ipv6
Cc: Branch:
Author: Launchpad Bug:

Description

As a followup to #5086, Twisted should provide support for listening on an IPv6 address including a scope id. This allows listening on a link-local address for a particular interface.

Once this is resolved, Twisted servers should be able to bind UDP ports to IPv6 addresses such as fe80::1%lo0, as well as send datagrams to such IPv6 addresses. Where the platform requires the scope id, IReactorUDP.listenUDP and IUDPTransport.write will require the scope id as well.

Change History (1)

comment:1 Changed 9 months ago by habnabit

(In [40881]) Merge ipv6-listenUDP-5086-2: Accept IPv6 address literals in IReactorUDP.listenUDP

Authors: marto1_, habnabit, satis
Reviewers: exarkun, rwall
Fixes: #5086
Refs: #6646, #6647, #6826, #6828

IReactorUDP.listenUDP, IUDPTransport.write and IUDPTransport.connect now accept
IPv6 address literals.

Note: See TracTickets for help on using tickets.