mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
6 lines
104 B
V
6 lines
104 B
V
|
import net
|
||
|
|
||
|
conn := net.dial_tcp('google.com:80')?
|
||
|
peer_addr := conn.peer_addr()?
|
||
|
println('$peer_addr')
|