FAQ
*** Submitted as
https://code.google.com/p/go/source/detail?r=a70be086fe02 ***

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.

R=rsc, golang-dev, dave
CC=golang-dev
https://codereview.appspot.com/6937059


https://codereview.appspot.com/6937059/

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedDec 16, '12 at 2:52a
activeDec 16, '12 at 2:52a
posts1
users1
websitegolang.org

1 user in discussion

Mikioh Mikioh: 1 post

People

Translate

site design / logo © 2022 Grokbase