<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bati11</author_name>
  <author_url>https://blog.hatena.ne.jp/bati11/</author_url>
  <blog_title>bati11 の 日記</blog_title>
  <blog_url>https://blog.bati11.info/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>Goでechoサーバーを書いた時のシステムコールはどうなってるのかなぁ、と思って調べてみた時の日記です。 前にCでechoサーバーを書いた時は以下のような実装をしました。 socket でソケットを作成する bind でソケットをバインドする listen でListen状態になる accept でコネクションを取り出す read でクライアントから文字列を受け取る write でクライアントへ文字列を返す Goで書くとどうなるでしょうか？ 環境はVagrantとUbuntuで。 $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.bati11.info%2Fentry%2F2018%2F07%2F08%2F175255&quot; title=&quot;Goでechoサーバーを書いた時のメモ - bati11 の 日記&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>https://images-fe.ssl-images-amazon.com/images/I/515xkIcDgXL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-07-08 17:52:55</published>
  <title>Goでechoサーバーを書いた時のメモ</title>
  <type>rich</type>
  <url>https://blog.bati11.info/entry/2018/07/08/175255</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
