<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eel3</author_name>
  <author_url>https://blog.hatena.ne.jp/eel3/</author_url>
  <blog_title>新・日々録 by TRASH BOX@Eel</blog_title>
  <blog_url>https://eel3.hatenablog.com/</blog_url>
  <categories>
    <anon>日記</anon>
    <anon>ツール</anon>
    <anon>Linux</anon>
  </categories>
  <description>タイトル名の通りのことを今更ながら実感したので、記録を残しておく。netcat（nc(1)）を使って、TCPで簡易的にファイルを転送する方法は2パターンある。ファイルを送る側のコンピュータでlistenする方法と、ファイルを受け取る側のコンピュータでlistenする方法だ。 ファイル送信側がlistenする方法 まず、ファイル送信側にて、netcatでポートをlisten状態で開いておく。この時、送信したいファイルをnetcatにリダイレクトしておく（≒標準入力経由でnetcatに流し込む）。 # ファイル送信側：192.0.2.11 listen_port=10002 nc -l $list…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feel3.hatenablog.com%2Fentry%2F20160422%2F1461336229&quot; title=&quot;netcatによるTCPでのファイル転送は2パターンある - 新・日々録 by TRASH BOX@Eel&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>2016-04-22 23:43:49</published>
  <title>netcatによるTCPでのファイル転送は2パターンある</title>
  <type>rich</type>
  <url>https://eel3.hatenablog.com/entry/20160422/1461336229</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
