]> Cypherpunks repositories - gostls13.git/commitdiff
net: fix comment on Dial to mention unix/unixgram.
authorDavid Symonds <dsymonds@golang.org>
Thu, 21 Oct 2010 12:17:24 +0000 (08:17 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 21 Oct 2010 12:17:24 +0000 (08:17 -0400)
R=rsc
CC=golang-dev
https://golang.org/cl/2639041

src/pkg/net/dial.go

index 4ba11e7fe98e5a279deec36b051d21f7a5bc7884..9a4c8f68893d0c2b0aff58138d138120fc963774 100644 (file)
@@ -12,7 +12,7 @@ import "os"
 //
 // Known networks are "tcp", "tcp4" (IPv4-only), "tcp6" (IPv6-only),
 // "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
 // a literal IPv6 address, it must be enclosed in square brackets.