Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/DNS-query/Neko/dns-query.neko
Normal file
9
Task/DNS-query/Neko/dns-query.neko
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/* dns in neko */
|
||||
var host_resolve = $loader.loadprim("std@host_resolve", 1);
|
||||
var host_to_string = $loader.loadprim("std@host_to_string", 1);
|
||||
var host_reverse = $loader.loadprim("std@host_reverse", 1);
|
||||
|
||||
var ip = host_resolve("www.kame.net");
|
||||
|
||||
$print("www.kame.net: ", ip, ", ", host_to_string(ip), "\n");
|
||||
$print(host_to_string(ip), ": ", host_reverse(ip), "\n");
|
||||
Loading…
Add table
Add a link
Reference in a new issue