{"categories":[],"image_url":null,"description":"SO_LINGER \u306e\u79d2\u6570\u3092 0 \u306b\u3057\u3066\u30bd\u30b1\u30c3\u30c8\u3092\u9589\u3058\u308c\u3070\u3044\u3044\u3002Perl \u3067\u66f8\u304f\u306a\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u3002 setsockopt($sock, SOL_SOCKET, SO_LINGER, pack(\"II\", 1, 0)) or die $!; $sock->close() \u4e00\u65b9\u3067 RST \u306b\u3088\u3063\u3066\u5207\u65ad (\uff1d\u7570\u5e38\u5207\u65ad\u3055\u308c\u305f) \u304b\u3069\u3046\u304b\u306f\u30bd\u30b1\u30c3\u30c8\u304b\u3089\u306e\u8aad\u307f\u8fbc\u307f\u304c ECONNRESET \u30a8\u30e9\u30fc\u3092\u8fd4\u3059\u304b\u3069\u3046\u304b\u3067\u5224\u65ad\u3067\u304d\u308b\uff08\u6b63\u5e38\u5207\u65ad\u306a\u3089 0 (==EOF) \u304c\u8fd4\u308b)\u3002","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazuhooku.hatenadiary.org%2Fentry%2F20110706%2F1309941132\" title=\" [\u30e1\u30e2] TCP/IP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u304a\u3051\u308b\u30a8\u30e9\u30fc\u51e6\u7406 (RST\u30d1\u30b1\u30c3\u30c8\u306e\u98db\u3070\u3057\u65b9\u3068\u691c\u51fa\u306e\u4ed5\u65b9) - kazuho\u306e\u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2011-07-06 17:32:12","title":" [\u30e1\u30e2] TCP/IP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u304a\u3051\u308b\u30a8\u30e9\u30fc\u51e6\u7406 (RST\u30d1\u30b1\u30c3\u30c8\u306e\u98db\u3070\u3057\u65b9\u3068\u691c\u51fa\u306e\u4ed5\u65b9)","type":"rich","blog_title":"kazuho\u306e\u30e1\u30e2\u7f6e\u304d\u5834","author_name":"kazuhooku","author_url":"https://blog.hatena.ne.jp/kazuhooku/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","blog_url":"https://kazuhooku.hatenadiary.org/","url":"https://kazuhooku.hatenadiary.org/entry/20110706/1309941132","height":"190","width":"100%","version":"1.0"}