summaryrefslogtreecommitdiff
path: root/src/pkg/net/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-11/+28
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-1/+21
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-0/+6
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-8/+13
2010-06-29net: initial attempt to implement windows versionAlex Brainman1-2/+18
R=rsc, Mateusz Czaplinski CC=golang-dev http://codereview.appspot.com/1600041 Committer: Russ Cox <rsc@golang.org>
2010-06-28Move the functions, newPollServer and Run, from fd.goVinu Rajashekhar1-0/+1
to a new source file. R=iant, rsc CC=golang-dev http://codereview.appspot.com/1670046 Committer: Ian Lance Taylor <iant@golang.org>
2010-06-21net: move Dial, Listen out of net.go.Russ Cox1-0/+1
now net.go is only type definitions, not active code. R=r CC=golang-dev http://codereview.appspot.com/1708046
2010-05-21net: implement raw socketsChristopher Wedgwood1-0/+1
R=rsc CC=golang-dev http://codereview.appspot.com/684041 Committer: Russ Cox <rsc@golang.org>
2010-04-26net: add PipeRuss Cox1-0/+1
R=r CC=golang-dev http://codereview.appspot.com/1004043
2010-01-15Use /etc/hosts when resolving names.Yves Junqueira1-0/+1
http://code.google.com/p/go/issues/detail?id=313 This conflics with Chris' patch at: http://codereview.appspot.com/181063 But I believe this is more complete since it has a simple caching and proper tests. R=cw, rsc CC=golang-dev http://codereview.appspot.com/183066 Committer: Russ Cox <rsc@golang.org>
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia1-2/+2
the bash scripts and makefiles for building go didn't take into account the fact $GOROOT / $GOBIN could both be directories containing whitespaces, and was not possible to build it in such a situation. this commit adjusts the various makefiles/scripts to make it aware of that possibility, and now it builds successfully when using a path with whitespaces as well. Fixes issue 115. R=rsc, dsymonds1 http://codereview.appspot.com/157067 Committer: Russ Cox <rsc@golang.org>
2009-11-02package net cleanupRuss Cox1-0/+2
added ReadFrom/WriteTo for packet protocols like UDP. simplified the net.Conn interface. added new net.PacketConn interface for packet protocols. implemented proper UDP listener. cleaned up LocalAddr/RemoteAddr methods - cache in netFD. threw away various unused methods. an interface change: introduced net.Addr as a network address interface, to avoid conversion of UDP host:port to string and back for every ReadFrom/WriteTo sequence. another interface change: since signature of Listener.Accept was changing anyway, dropped the middle return value, because it is available as c.RemoteAddr(). (the Accept signature predates the existence of that method.) Dial and Listen still accept strings, but the proto-specific versions DialTCP, ListenUDP, etc. take net.Addr instead. because the generic Dial didn't change and because no one calls Accept directly (only indirectly via the http server), very little code will be affected by these interface changes. design comments welcome. R=p CC=go-dev, r http://go/go-review/1018017
2009-11-01split ipsock.go, sock.go, and unixsock.go out of net.goRuss Cox1-0/+3
prior to cleanup. no changes, only moving. remove dependencies on strconv and strings R=r http://go/go-review/1017010
2009-08-12convert non-low-level non-google pkg codeRuss Cox1-84/+13
to whole-package compilation. R=r OCL=33070 CL=33101
2009-06-25Change os.Error convention:Russ Cox1-18/+12
echo back context of call in error if likely to be useful. For example, if os.Open("/etc/passwd", os.O_RDONLY) fails with syscall.EPERM, it returns as the os.Error &PathError{ Op: "open", Path: "/etc/passwd" Error: os.EPERM } which formats as open /etc/passwd: permission denied Not converted: datafmt go/... google/... regexp tabwriter template R=r DELTA=1153 (561 added, 156 deleted, 436 changed) OCL=30738 CL=30781
2009-06-09mv src/lib to src/pkgRob Pike1-0/+96
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102