{"categories":["prog"],"version":"1.0","author_url":"https://blog.hatena.ne.jp/sardine/","type":"rich","published":"2004-05-27 00:00:00","blog_url":"https://www.toyfish.blog/","height":"190","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.toyfish.blog%2Fentry%2F20040527%2Fp1\" title=\" D: nslookup \u3082\u3069\u304d - toyfish.blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://www.toyfish.blog/entry/20040527/p1","blog_title":"toyfish.blog","image_url":null,"title":" D: nslookup \u3082\u3069\u304d","description":"\u30db\u30b9\u30c8\u540d\u3092\u4e0e\u3048\u308b\u3068 IP \u30a2\u30c9\u30ec\u30b9 (nnn.nnn.nnn.nnn \u5f62\u5f0f\u3068 XXXXXXXX \u5f62\u5f0f) \u3092\u51fa\u529b\u3059\u308b\u306e\u3092\u66f8\u3044\u3066\u307f\u305f\u3002 /* * hostname to ip address */ import std.socket; import std.string; import std.c.stdio; int main(char args) { char names = args[1..args.length]; foreach (uint i, char name; names) { printf(\"Host: %.*s\\n\", name); InternetHost host = n\u2026","author_name":"sardine"}