]> Cypherpunks repositories - gostls13.git/commit
net: give C.getaddrinfo a hint that we only want SOCK_STREAM answers
authorIan Lance Taylor <iant@golang.org>
Fri, 9 Aug 2013 16:23:27 +0000 (09:23 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 9 Aug 2013 16:23:27 +0000 (09:23 -0700)
commitba6cf63cba611d8d4602781bd8abf5bade2af3ca
treef0e50a0d1141db1bf0539f1dd1095e75c00e4c76
parent8a9045634905c8777a3b6acd5eb78a8eee7828c6
net: give C.getaddrinfo a hint that we only want SOCK_STREAM answers

This should be more efficient everywhere, and appears to be
required on Solaris.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/12583046
src/pkg/net/cgo_unix.go