gonetx/tcp tcp is a package providing utility functions for tcp. Detect Detect checks if a tcp address is connectable with specific timeout. ok, err := tcp.Detect("www.google.com:443", time.Second) fmt.Println(ok, err)