{"provider_name":"Hatena Blog","height":"190","url":"https://tokibito.hatenablog.com/entry/20120720/1342710619","image_url":null,"description":"Circus\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u30c7\u30a3\u30b9\u30af\u30ea\u30d7\u30bf\u304c\u6e21\u3055\u308c\u308b\u306e\u3067socket.fromfd\u3092\u4f7f\u3048\u3070\u3044\u3044\u3089\u3057\u3044\u3002 Python Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f2.7.2\u3002 myserver.py # coding: utf-8 import sys import socket import logging import select content = \"\"\"HTTP/1.0 200 OK Content-Type: text/plain Length: 13 Hello world! \"\"\" content_length = len(content) def main(): sock = socket.fro\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftokibito.hatenablog.com%2Fentry%2F20120720%2F1342710619\" title=\"\u81ea\u4f5c\u3057\u305f\u30b5\u30fc\u30d0\u30fc\u30d7\u30ed\u30b0\u30e9\u30e0\u3092Circus\u3067\u52d5\u304b\u3059 - \u504f\u3063\u305f\u8a00\u8a9e\u4fe1\u8005\u306e\u5782\u308c\u6d41\u3057\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","author_url":"https://blog.hatena.ne.jp/nullpobug/","version":"1.0","type":"rich","blog_title":"\u504f\u3063\u305f\u8a00\u8a9e\u4fe1\u8005\u306e\u5782\u308c\u6d41\u3057","blog_url":"https://tokibito.hatenablog.com/","title":"\u81ea\u4f5c\u3057\u305f\u30b5\u30fc\u30d0\u30fc\u30d7\u30ed\u30b0\u30e9\u30e0\u3092Circus\u3067\u52d5\u304b\u3059","provider_url":"https://hatena.blog","author_name":"nullpobug","categories":["Python","Ruby","Circus"],"published":"2012-07-20 00:10:19"}