{"width":"100%","provider_name":"Hatena Blog","version":"1.0","description":"\u3044\u3064\u3082\u5fd8\u308c\u308b\u306e\u3067\u30e1\u30e2 struct sockaddr_in addr; printf(\"%s:%d\\n\", inet_ntoa(addr.sin_addr), ntohs(addr.sin_port) );http://www.linux.or.jp/JM/html/LDP_man-pages/man3/inet.3.html htons(addr.sin_port)\u306f\u9593\u9055\u3044\u3002","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/iww/","blog_url":"https://iww.hateblo.jp/","title":"inet_ntoa","image_url":null,"author_name":"iww","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20070923%2F1190560178\" title=\"inet_ntoa - \u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2007-09-23 00:09:38","type":"rich","categories":["Linux"],"url":"https://iww.hateblo.jp/entry/20070923/1190560178","blog_title":"\u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12","height":"190"}