Reviewers: rsc, golang-dev_googlegroups.com,
Message:
Hello [email protected], [email protected] (cc:
[email protected]),
I'd like you to review this change to
https://code.google.com/p/go
Description:
net: change ListenUnixgram signature to return UnixConn instead of
UDPConn
This CL breaks Go 1 API compatibility but it doesn't matter because
previous ListenUnixgram doesn't work in any use cases, oops.
The public API change is:
-pkg net, func ListenUnixgram(string, *UnixAddr) (*UDPConn, error)
+pkg net, func ListenUnixgram(string, *UnixAddr) (*UnixConn, error)
Fixes issue 3875.
Please review this at https://codereview.appspot.com/6937059/
Affected files:
M src/pkg/net/protoconn_test.go
M src/pkg/net/unixsock_plan9.go
M src/pkg/net/unixsock_posix.go