mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os.File clean up + socket.v (dial())
This commit is contained in:
8
vlib/net/socket_test.v
Normal file
8
vlib/net/socket_test.v
Normal file
@@ -0,0 +1,8 @@
|
||||
import net
|
||||
|
||||
fn test_dial() {
|
||||
|
||||
conn := net.dial('irc.freenode.org', 6667)
|
||||
println(conn.sockfd)
|
||||
|
||||
}
|
Reference in New Issue
Block a user