1
0
mirror of https://github.com/golang/go synced 2024-11-22 02:54:39 -07:00

net: fix comment on Dial to mention unix/unixgram.

R=rsc
CC=golang-dev
https://golang.org/cl/2639041
This commit is contained in:
David Symonds 2010-10-21 08:17:24 -04:00 committed by Russ Cox
parent 69188ad9bb
commit 4f6fb1b775

View File

@ -12,7 +12,7 @@ import "os"
// //
// Known networks are "tcp", "tcp4" (IPv4-only), "tcp6" (IPv6-only), // Known networks are "tcp", "tcp4" (IPv4-only), "tcp6" (IPv6-only),
// "udp", "udp4" (IPv4-only), "udp6" (IPv6-only), "ip", "ip4" // "udp", "udp4" (IPv4-only), "udp6" (IPv6-only), "ip", "ip4"
// (IPv4-only) and "ip6" IPv6-only). // (IPv4-only), "ip6" (IPv6-only), "unix" and "unixgram".
// //
// For IP networks, addresses have the form host:port. If host is // For IP networks, addresses have the form host:port. If host is
// a literal IPv6 address, it must be enclosed in square brackets. // a literal IPv6 address, it must be enclosed in square brackets.