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
2019-07-01 17:31:38 +02:00

15 lines
249 B
Go

import net
fn test_socket() {
// server := net.listen(8080)
// println(server)
// client := net.dial('127.0.0.1', 8080)
// println(client)
// socket := server.accept()
// println(socket)
//
// server.close()
// client.close()
// socket.close()
}