v/vlib/net/socket_test.v

7 lines
99 B
Go
Raw Normal View History

2019-06-30 16:11:55 +02:00
import net
fn test_dial() {
2019-06-30 20:57:25 +02:00
conn := net.dial('irc.freenode.org', 6667)
println(conn.sockfd)
2019-06-30 16:11:55 +02:00
}