14 lines
174 B
Go
14 lines
174 B
Go
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)
|
|
}
|
|
}
|