1
0
mirror of https://github.com/golang/go synced 2024-11-20 06:54:42 -07:00
go/src/pkg/net
Russ Cox 41f93a430f net: drop laddr from Dial, cname from LookupHost; new functions
Drop laddr argument from Dial.

Drop cname return from LookupHost.

Add LookupIP, LookupCNAME, ParseCIDR, IP.Equal.
Export SplitHostPort, JoinHostPort.
Add AAAA (IPv6) support to host lookups.

Preparations for implementing some of the
lookups using cgo.

ParseCIDR and IP.Equal are logically new in this CL
but accidentally snuck into an earlier CL about unused
labels that was in the same client.

In crypto/tls, drop laddr from Dial to match net.

R=golang-dev, dsymonds, adg, rh
CC=golang-dev
https://golang.org/cl/4244055
2011-03-28 23:28:42 -04:00
..
dict net/dict: parse response correctly + typo 2010-09-16 13:37:35 -04:00
textproto net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
cgo_stub.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
dial.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
dialgoogle_test.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
dnsclient.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
dnsconfig.go
dnsmsg.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
dnsname_test.go net: Fix race condition in test. 2011-01-21 13:57:52 -08:00
fd_darwin.go net: let OS-specific AddFD routine wake up polling thread. 2011-03-28 12:39:09 -07:00
fd_freebsd.go net: let OS-specific AddFD routine wake up polling thread. 2011-03-28 12:39:09 -07:00
fd_linux.go net: let OS-specific AddFD routine wake up polling thread. 2011-03-28 12:39:09 -07:00
fd_windows.go net: *netFD.Read to return os.EOF on eof (fixes windows build) 2011-02-24 10:17:45 +11:00
fd.go net: let OS-specific AddFD routine wake up polling thread. 2011-03-28 12:39:09 -07:00
file_test.go net: add FileConn, FilePacketConn, FileListener 2011-03-25 14:42:25 -04:00
file_windows.go net: fix Windows build 2011-03-25 16:11:19 -04:00
file.go net: add FileConn, FilePacketConn, FileListener 2011-03-25 14:42:25 -04:00
hosts_test.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
hosts_testdata
hosts.go net: add LookupAddr 2011-01-19 15:11:03 -05:00
ip_test.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
ip.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
ipraw_test.go net: Fix ICMP test. 2010-06-21 16:40:44 -07:00
iprawsock.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
ipsock.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
lookup.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
Makefile net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
multicast_test.go net: fix multicast tests 2011-02-18 13:48:13 -05:00
net_test.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
net.go net: remove comment fragments 2011-02-17 16:32:50 -05:00
newpollserver.go net: let OS-specific AddFD routine wake up polling thread. 2011-03-28 12:39:09 -07:00
parse_test.go net: disable tests for functions not available on windows 2010-09-12 12:02:29 +10:00
parse.go net: reject invalid net:proto network names 2011-02-16 15:03:47 -05:00
pipe_test.go
pipe.go
port_test.go net: fix test for Solaris: gopher and http are not in /etc/services. 2011-03-07 15:31:41 -08:00
port.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
resolv_windows.go net: get tests working to fix windows build 2011-01-20 19:18:04 +11:00
server_test.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
sock.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
srv_test.go net: fix LookupSRV 2010-11-04 10:30:39 -04:00
tcpsock.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
timeout_test.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
udpsock.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
unixsock.go net: add unixpacket 2011-01-19 14:21:58 -05:00