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