Initial project import

This commit is contained in:
Agila Forge Importer committed 2026-07-13 15:20:32 +00:00
commit 23f2d29e32
11957 files changed
+1754577

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
import net
for addr in [
'vlang.io:80',
'google.com:80',
'steampowered.com:80',
'api.steampowered.com:80',
] {
println('${addr}')
for type in [net.SocketType.tcp, .udp] {
family := net.AddrFamily.unspec
addrs := net.resolve_addrs(addr, family, type) or {
println('> None')
continue
}
for a in addrs {
f := a.family()
println('> ${a} ${f} ${type}')
}
}
}