le-club-des

This commit is contained in:
gauthiier
2019-01-03 14:38:05 +01:00
parent 788b787276
commit 4e0ba79dd9
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -31,6 +31,8 @@ func Connect() (net.Conn, error){
return stream_socket, nil
}
// ips, err := net.LookupIP("www.google.ca")
var sock net.Conn
host := config.Xcfg.Server.ADDR + ":" + strconv.Itoa(config.Xcfg.Server.PORT)
sock, err := net.Dial("tcp", host)