<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a666666</author_name>
  <author_url>https://blog.hatena.ne.jp/a666666/</author_url>
  <blog_title>@kyanny's blog</blog_title>
  <blog_url>https://blog.kyanny.me/</blog_url>
  <categories>
  </categories>
  <description>https://github.com/kyanny/playground/blob/gh-pages/tcpsocket-open/wait_port_open_close.rb プログラム内から子プロセスとして Rack アプリケーションを起動し HTTP リクエストを送りたい、という場合に、 Rack アプリケーションが起動し終わって localhost:9292 への HTTP リクエストを受け付けられるようになるまでには少し時間がかかる。適切なウェイトをはさまないと Rack アプリケーションがまだ起動してないのにプログラム本体の処理が進んでしまって HTTP リクエストを送ってしまう…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kyanny.me%2Fentry%2F2015%2F11%2F15%2F045710&quot; title=&quot;プログラム内から起動した外部プロセスが利用可能になるまで TCPSocket.open で待つ - @kyanny&amp;#39;s blog&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>2015-11-15 04:57:10</published>
  <title>プログラム内から起動した外部プロセスが利用可能になるまで TCPSocket.open で待つ</title>
  <type>rich</type>
  <url>https://blog.kyanny.me/entry/2015/11/15/045710</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
