Skip to content

gonetx/tcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)