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

net: listen and accept

This commit is contained in:
Alexander Medvednikov
2019-06-30 20:57:25 +02:00
parent 9062338cb4
commit 6a1b16c72c
2 changed files with 74 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import net
fn test_dial() {
//conn := net.dial('irc.freenode.org', 6667)
//println(conn.sockfd)
conn := net.dial('irc.freenode.org', 6667)
println(conn.sockfd)
}