net: update docs for unimplemented methods and functions
Change-Id: I54e651a952afa8928cc0204ba37092d3b2347266
Reviewed-on: https://go-review.googlesource.com/127737
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/src/net/file.go b/src/net/file.go
index 0709985..81a44e1 100644
--- a/src/net/file.go
+++ b/src/net/file.go
@@ -6,7 +6,7 @@
import "os"
-// BUG(mikio): On NaCl and Windows, the FileConn, FileListener and
+// BUG(mikio): On JS, NaCl and Windows, the FileConn, FileListener and
// FilePacketConn functions are not implemented.
type fileAddr string
diff --git a/src/net/interface.go b/src/net/interface.go
index 4036a7f..375a456 100644
--- a/src/net/interface.go
+++ b/src/net/interface.go
@@ -10,7 +10,7 @@
"time"
)
-// BUG(mikio): On NaCl, methods and functions related to
+// BUG(mikio): On JS and NaCl, methods and functions related to
// Interface are not implemented.
// BUG(mikio): On DragonFly BSD, NetBSD, OpenBSD, Plan 9 and Solaris,
diff --git a/src/net/iprawsock.go b/src/net/iprawsock.go
index 95bab50..8a9c265 100644
--- a/src/net/iprawsock.go
+++ b/src/net/iprawsock.go
@@ -21,8 +21,8 @@
// change the behavior of these methods; use Read or ReadMsgIP
// instead.
-// BUG(mikio): On NaCl and Plan 9, the ReadMsgIP and
-// WriteMsgIP methods of IPConn are not implemented.
+// BUG(mikio): On JS, NaCl and Plan 9, methods and functions related
+// to IPConn are not implemented.
// BUG(mikio): On Windows, the File method of IPConn is not
// implemented.
diff --git a/src/net/rawconn.go b/src/net/rawconn.go
index e652816..c40ea4a 100644
--- a/src/net/rawconn.go
+++ b/src/net/rawconn.go
@@ -15,8 +15,8 @@
// deadlines. If the user-provided callback returns false, the Write
// method will fail immediately.
-// BUG(mikio): On NaCl and Plan 9, the Control, Read and Write methods
-// of syscall.RawConn are not implemented.
+// BUG(mikio): On JS, NaCl and Plan 9, the Control, Read and Write
+// methods of syscall.RawConn are not implemented.
type rawConn struct {
fd *netFD
diff --git a/src/net/tcpsock.go b/src/net/tcpsock.go
index 6e628f6..db5d1f8 100644
--- a/src/net/tcpsock.go
+++ b/src/net/tcpsock.go
@@ -12,8 +12,8 @@
"time"
)
-// BUG(mikio): On Windows, the File method of TCPListener is not
-// implemented.
+// BUG(mikio): On JS, NaCl and Windows, the File method of TCPConn and
+// TCPListener is not implemented.
// TCPAddr represents the address of a TCP end point.
type TCPAddr struct {
diff --git a/src/net/udpsock.go b/src/net/udpsock.go
index 937b927..b234ed8 100644
--- a/src/net/udpsock.go
+++ b/src/net/udpsock.go
@@ -18,6 +18,9 @@
// BUG(mikio): On NaCl, the ListenMulticastUDP function is not
// implemented.
+// BUG(mikio): On JS, methods and functions related to UDPConn are not
+// implemented.
+
// UDPAddr represents the address of a UDP end point.
type UDPAddr struct {
IP IP
diff --git a/src/net/unixsock.go b/src/net/unixsock.go
index 06beaec..3ae62f6 100644
--- a/src/net/unixsock.go
+++ b/src/net/unixsock.go
@@ -12,6 +12,9 @@
"time"
)
+// BUG(mikio): On JS, NaCl, Plan 9 and Windows, methods and functions
+// related to UnixConn and UnixListener are not implemented.
+
// UnixAddr represents the address of a Unix domain socket end point.
type UnixAddr struct {
Name string