~john-koepi/ubuntu/trusty/golang/default

« back to all changes in this revision

Viewing changes to src/pkg/net/udpsock.go

  • Committer: Bazaar Package Importer
  • Author(s): Ondřej Surý
  • Date: 2011-08-03 17:04:59 UTC
  • mfrom: (14.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110803170459-wzd99m3567y80ila
Tags: 1:59-1
* Imported Upstream version 59
* Refresh patches to a new release
* Fix FTBFS on ARM (Closes: #634270)
* Update version.bash to work with Debian packaging and not hg
  repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
281
281
// Closing c does not affect f, and closing f does not affect c.
282
282
func (c *UDPConn) File() (f *os.File, err os.Error) { return c.fd.dup() }
283
283
 
284
 
var errInvalidMulticast = os.ErrorString("invalid IPv4 multicast address")
 
284
var errInvalidMulticast = os.NewError("invalid IPv4 multicast address")
285
285
 
286
286
// JoinGroup joins the IPv4 multicast group named by addr.
287
287
// The UDPConn must use the "udp4" network.