ays be accompanied by a numerical &ldquo;type&rdquo;, to ensure other peers know what kind of data is being received, and how to properly process it. You can manage this by creating a <code>UInt32</code> enum, as shown below:</p>
<pre class="highlight swift"><code><span class="kd">enum</span> <span class="kt">DataType</span><span class="p">:</span> <span class="kt">UInt32</span> <span class="p">{</span>
  <span class="k">case</span> <span class="n">string</span> <span class="o">=</span> <span class="mi">1</