LoginSignup
0
0

More than 1 year has passed since last update.

UDPヘッダ

Posted at

送信元ポート番号・・・16bit アプリケーションを指定する番号
TCPとの違いは送信元ポート番号がオプションになっている
返事をがいらない通信の場合は送信元ポート番号を全部0として通信することも可能

宛先ポート番号・・・16bit アプリケーションを指定する番号

パケット長・・・UDPヘッダ+UDPデータ(ペイロード)の合計値 (byte単位) パケットの長さ

チェックサム・・・16byte ヘッダとデータが壊れていないか確認する為のデータ
※TCP、UDP共にチェックサムがあるので注意   
UDPにはチェックサムが無いという引っ掛け問題がある

データ(ペイロード)・・・データ本体

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0