Skip to content
Benjamin Ballesteros edited this page Feb 5, 2019 · 9 revisions

MDBoxProject

This project is to demonstrate how to send commands to M-Box over UDP.

Table of Contents

1 Introduction

  1. User Interface
    1. User Interface v1
    2. User Interface v2
  2. Example
  3. Findings

Introduction

User Datagram Protocol (UDP) is a simple protocol that makes a best effort to deliver data to a remote host. However, because the UDP protocol is a connectionless protocol, UDP datagrams sent to the remote endpoint are not guaranteed to arrive, nor are they guaranteed to arrive in the same sequence in which they are sent. Applications that use UDP must be prepared to handle missing, duplicate, and out-of-sequence datagrams.

To send a datagram using UDP, you must know the network address of the network device hosting the service you need and the UDP port number that the service uses to communicate. The Internet Assigned Numbers Authority (Iana) defines port numbers for common services (see Service Name and Transport Protocol Port Number Registry). Services not on the Iana list can have port numbers in the range 1,024 to 65,535.