v/vlib/net/socket_test.v

7 lines
99 B
Go

import net
fn test_dial() {
conn := net.dial('irc.freenode.org', 6667)
println(conn.sockfd)
}