`net.Dial(network, address)` initiates an outgoing connection to `address` using the named `network`.
Common networks:
package main import ( "net" ) func main() { conn, err := net.Dial("tcp", "example.com:80") if err != nil { return } defer conn.Close() }