netdbdemo
This commit is contained in:
@@ -7,8 +7,8 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
var hints net.AddrInfo
|
var hints net.AddrInfo
|
||||||
hints.AiFamily = net.AF_UNSPEC
|
hints.Family = net.AF_UNSPEC
|
||||||
hints.AiSockType = net.SOCK_STREAM
|
hints.SockType = net.SOCK_STREAM
|
||||||
|
|
||||||
host := "httpbin.org"
|
host := "httpbin.org"
|
||||||
port := "80"
|
port := "80"
|
||||||
Reference in New Issue
Block a user