Commit 4f6fb1b7 authored by David Symonds's avatar David Symonds Committed by Russ Cox

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

R=rsc
CC=golang-dev
https://golang.org/cl/2639041
parent 69188ad9
...@@ -12,7 +12,7 @@ import "os" ...@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment