Gitly
Log in
Register
v
/
examples
Raw file
|
5 loc (4 sloc)
|
106 bytes
|
Latest commit hash 017ace6ea
1
import
net
2
3
conn := net.dial_tcp(
'google.com:80'
)!
4
peer_addr := conn.peer_addr()!
5
println(
'${peer_addr}'
)