1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/net/socket_test.v

7 lines
99 B
Go
Raw Normal View History

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