aboutsummaryrefslogtreecommitdiff
path: root/Tools/Hazel-Networking/Hazel/Udp/SendOptionInternal.cs
blob: 74786d8238db558b7cd01618fe4caeff74adaf96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace Hazel.Udp
{
    /// <summary>
    ///     Extra internal states for SendOption enumeration when using UDP.
    /// </summary>
    public enum UdpSendOption : byte
    {
        /// <summary>
        ///     Hello message for initiating communication.
        /// </summary>
        Hello = 8,

        /// <summary>
        /// A single byte of continued existence
        /// </summary>
        Ping = 12,

        /// <summary>
        ///     Message for discontinuing communication.
        /// </summary>
        Disconnect = 9,

        /// <summary>
        ///     Message acknowledging the receipt of a message.
        /// </summary>
        Acknowledgement = 10,

        /// <summary>
        ///     Message that is part of a larger, fragmented message.
        /// </summary>
        Fragment = 11,
    }
}