FAQ
Reviewers: rsc,

Message:
Hello rsc@golang.org (cc: golang-dev@googlegroups.com),

I'd like you to review this change to
https://code.google.com/p/go


Description:
net: add IPv6 ZoneId to INET, INET6 address structs

This CL adds IPv6 scoped addressing zone identifier to
internet protocol family address structs.

The Public API changes are:
+pkg net, type IPAddr struct, ZoneId string
+pkg net, type IPNet struct, ZoneId string
+pkg net, type TCPAddr struct, ZoneId string
+pkg net, type UDPAddr struct, ZoneId string

Update issue 4234.

Please review this at http://codereview.appspot.com/6849045/

Affected files:
M src/pkg/net/ip.go
M src/pkg/net/ip_test.go
M src/pkg/net/iprawsock.go
M src/pkg/net/iprawsock_plan9.go
M src/pkg/net/iprawsock_posix.go
M src/pkg/net/ipsock.go
M src/pkg/net/ipsock_plan9.go
M src/pkg/net/ipsock_posix.go
M src/pkg/net/multicast_posix_test.go
M src/pkg/net/tcpsock.go
M src/pkg/net/tcpsock_posix.go
M src/pkg/net/udpsock.go
M src/pkg/net/udpsock_plan9.go
M src/pkg/net/udpsock_posix.go

Search Discussions

  • Russ Cox at Nov 13, 2012 at 5:34 pm
    ZoneId sounds like ZoneName or ZoneString. Why not just Zone?

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedNov 13, '12 at 12:10p
activeNov 13, '12 at 5:34p
posts2
users2
websitegolang.org

2 users in discussion

Russ Cox: 1 post Mikioh Mikioh: 1 post

People

Translate

site design / logo © 2022 Grokbase