le-club-des
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user