<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>boscono</author_name>
  <author_url>https://blog.hatena.ne.jp/boscono/</author_url>
  <blog_title>てきとうなメモ</blog_title>
  <blog_url>https://boscono.hatenablog.com/</blog_url>
  <categories>
    <anon>C</anon>
    <anon>Network</anon>
  </categories>
  <description>#include &lt;stdio.h&gt; #include &lt;netdb.h&gt; #include &lt;sys/socket.h&gt; #include &lt;netinet/in.h&gt; #include &lt;arpa/inet.h&gt; int main(int argc, char **argv) { struct hostent *host = gethostbyname(argv[1]); printf(&quot;h_name = %s\n&quot;, host-&gt;h_name); printf(&quot;ip = &quot;); for (char **addrp = host-&gt;h_addr_list; *addrp != NULL;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboscono.hatenablog.com%2Fentry%2F2016%2F01%2F31%2F160926&quot; title=&quot;gethostbynameの引数にipアドレスを指定した場合の動作 - てきとうなメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-01-31 16:09:26</published>
  <title>gethostbynameの引数にipアドレスを指定した場合の動作</title>
  <type>rich</type>
  <url>https://boscono.hatenablog.com/entry/2016/01/31/160926</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
