mirror of
https://github.com/vlang/v.git
synced 2025-09-15 07:22:27 +03:00
os.File clean up + socket.v (dial())
This commit is contained in:
parent
386367c3d5
commit
61b51f6149
6 changed files with 94 additions and 9 deletions
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)
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue