{"provider_name":"Hatena Blog","title":" Ruby\u3067\u306eWinSock\u306e\u521d\u671f\u5316","blog_url":"https://so-wh.at/","categories":["RUBY","C\u8a00\u8a9e"],"author_url":"https://blog.hatena.ne.jp/winebarrel/","version":"1.0","type":"rich","image_url":null,"blog_title":"so what","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fso-wh.at%2Fentry%2F20080217%2Fp4\" title=\" Ruby\u3067\u306eWinSock\u306e\u521d\u671f\u5316 - so what\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2008-02-17 00:00:02","width":"100%","description":"\u62e1\u5f35\u3067WinSock\u306e\u521d\u671f\u5316\u3092\u3059\u308b\u308f\u3051\u306b\u306f\u3044\u304b\u306a\u3044\u3088\u306a\u3041\u2026\u3068\u3044\u3046\u3053\u3068\u3067Ruby\u306e\u30bd\u30fc\u30b9(1.8.6-p111)\u3092\u8aad\u3093\u3067\u307f\u308b\u3002 win32/win32.c\u306eStartSockets()\u95a2\u6570\u3067WinSock\u3067\u521d\u671f\u5316\u3055\u308c\u3066\u305f\u3002 static void StartSockets () { WORD version; WSADATA retdata; int ret; #ifndef USE_WINSOCK2 int iSockOpt; #endif // // initalize the winsock interface and insure that it's // cleaned up at e\u2026","author_name":"winebarrel","provider_url":"https://hatena.blog","height":"190","url":"https://so-wh.at/entry/20080217/p4"}