<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gsf_zero1</author_name>
  <author_url>https://blog.hatena.ne.jp/gsf_zero1/</author_url>
  <blog_title>いろいろ備忘録日記</blog_title>
  <blog_url>https://devlights.hatenablog.com/</blog_url>
  <categories>
    <anon>linux</anon>
  </categories>
  <description>概要 自分が受信側 自分が送信側 概要 意外と周りで知らない人が結構いたので、ついでにメモメモ。。 Linuxで、UDP通信している場合に対向先から送られてきたデータがちゃんと来ているのかを軽く確認したいときがたまにあります。そういうときは、nc コマンドを使うとちょっと便利です。簡易な確認をしたい場合に便利です。TCPでも使えますよ。 自分が受信側 以下のように $ nc -lu ポート番号 って実行すると、指定したポート番号で UDP を Listen してくれます。 この状態にしてから、対向先からデータを受信するとデータが流れてきます。 データを１６進数でみたいなーってときは $ nc …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F2020%2F11%2F19%2F143711&quot; title=&quot;ncコマンドでUDP通信の確認をする - いろいろ備忘録日記&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>2020-11-19 14:37:11</published>
  <title>ncコマンドでUDP通信の確認をする</title>
  <type>rich</type>
  <url>https://devlights.hatenablog.com/entry/2020/11/19/143711</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
