multinet/testdata/patch_1.go

15 lines
174 B
Go
Raw Permalink Normal View History

package main
import (
"log"
"net"
)
func main() {
ip := net.IPv4(192, 168, 0, 10)
_, err := net.Dial("tcp", ip.String()+":8080")
if err != nil {
log.Fatal(err)
}
}