We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go version
$ go version go version devel +master Fri Jul 3 01:11:20 EDT 2020 plan9/386
Run:
package main import ( "fmt" "net" ) func main() { l, err := net.Listen("tcp4", "0.0.0.0:1234") if err != nil { panic(err) } defer l.Close() fmt.Printf("Listen Addr: %v\n", l.Addr()) }
As seen on Linux:
Listen Addr: 0.0.0.0:1234
Listen Addr: [::]:1234
The same issue exists for ListenPacket on udp4.
ListenPacket
udp4
@gopherbot add labels OS-Plan9, NeedsFix
The text was updated successfully, but these errors were encountered:
Change https://golang.org/cl/240918 mentions this issue: net: correct address when listening on IPv4zero tcp4/udp4 on Plan 9
net: correct address when listening on IPv4zero tcp4/udp4 on Plan 9
Sorry, something went wrong.
c769a47
No branches or pull requests
What version of Go are you using (
go version
)?What did you do?
Run:
What did you expect to see?
As seen on Linux:
What did you see instead?
The same issue exists for
ListenPacket
onudp4
.@gopherbot add labels OS-Plan9, NeedsFix
The text was updated successfully, but these errors were encountered: