<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moriyoshi</author_name>
  <author_url>https://blog.hatena.ne.jp/moriyoshi/</author_url>
  <blog_title>moriyoshiの日記</blog_title>
  <blog_url>https://moriyoshi.hatenablog.com/</blog_url>
  <categories>
    <anon>php</anon>
    <anon>thread</anon>
    <anon>pth</anon>
    <anon>rse</anon>
  </categories>
  <description>のをやってみた。もうちょっと作り込んでから、と思ったけど、まあまあまともに動くので先に公開。次のようなスクリプトがさくさく動いちゃうよ！ &lt;?php function echoing($fd) { echo &quot;connection established\n&quot;; while (!feof($fd)) { fwrite($fd, fgets($fd)); } fclose($fd); echo &quot;connection closed\n&quot;; } $ssock = stream_socket_server('tcp://127.0.0.1:8000'); assert($ssock !== fals…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmoriyoshi.hatenablog.com%2Fentry%2F20080330%2F1206830539&quot; title=&quot;GNU Pthを使って、PHPでユーザスレッドを実現する - moriyoshiの日記&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>2008-03-30 07:42:19</published>
  <title>GNU Pthを使って、PHPでユーザスレッドを実現する</title>
  <type>rich</type>
  <url>https://moriyoshi.hatenablog.com/entry/20080330/1206830539</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
