Descriptionnet: support IPv6 scoped addressing zone
This CL provides IPv6 scoped addressing zone support as defined
in RFC 4007 for internet protocol family connection setups.
Follwoing types and functions allow a literal IPv6 address with
zone identifer as theirs parameter.
pkg net, func Dial(string, string) (Conn, error)
pkg net, func DialOpt(string, ...DialOption) (Conn, error)
pkg net, func DialTimeout(string, string, time.Duration) (Conn, error)
pkg net, func Listen(string, string) (Listener, error)
pkg net, func ListenPacket(string, string) (PacketConn, error)
pkg net, func ResolveIPAddr(string, string) (*IPAddr, error)
pkg net, func ResolveTCPAddr(string, string) (*TCPAddr, error)
pkg net, func ResolveUDPAddr(string, string) (*UDPAddr, error)
pkg net, type IPAddr struct, Zone string
pkg net, type TCPAddr struct, Zone string
pkg net, type UDPAddr struct, Zone string
Also follwoing methods return a literal IPv6 address with zone
identifier string if possible.
pkg net, method (*IPAddr) String() string
pkg net, method (*TCPAddr) String() string
pkg net, method (*UDPAddr) String() string
Fixes issue 4234.
Fixes issue 4501.
Update issue 5081.
Patch Set 1 : diff -r f5c69f87ef34 https://code.google.com/p/go #Patch Set 2 : diff -r f5c69f87ef34 https://code.google.com/p/go #Patch Set 3 : diff -r fc4e67d82024 https://code.google.com/p/go #Patch Set 4 : diff -r ceaa16504f36 https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 697f36fec52c https://go.googlecode.com/hg/ #Patch Set 6 : diff -r 027d52134c62 https://go.googlecode.com/hg/ #
Total comments: 4
Patch Set 7 : diff -r 9ca85035f95a https://code.google.com/p/go #Patch Set 8 : diff -r 9ca85035f95a https://code.google.com/p/go #
Total comments: 2
Patch Set 9 : diff -r 0f3086c49268 https://code.google.com/p/go #
MessagesTotal messages: 23
|