• Russ Cox's avatar
    net: drop laddr from Dial, cname from LookupHost; new functions · 41f93a43
    Russ Cox authored
    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
    41f93a43
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...