From 8d2a2cd5de40e2b94ef5007c32832ed9a063dc40 Mon Sep 17 00:00:00 2001
From: chai <215380520@qq.com>
Date: Thu, 12 Oct 2023 22:09:49 +0800
Subject: +hazel-networking
---
.../Hazel/Udp/SendOptionInternal.cs | 39 ++++++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 Tools/Hazel-Networking/Hazel/Udp/SendOptionInternal.cs
(limited to 'Tools/Hazel-Networking/Hazel/Udp/SendOptionInternal.cs')
diff --git a/Tools/Hazel-Networking/Hazel/Udp/SendOptionInternal.cs b/Tools/Hazel-Networking/Hazel/Udp/SendOptionInternal.cs
new file mode 100644
index 0000000..74786d8
--- /dev/null
+++ b/Tools/Hazel-Networking/Hazel/Udp/SendOptionInternal.cs
@@ -0,0 +1,39 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+
+namespace Hazel.Udp
+{
+ ///
+ /// Extra internal states for SendOption enumeration when using UDP.
+ ///
+ public enum UdpSendOption : byte
+ {
+ ///
+ /// Hello message for initiating communication.
+ ///
+ Hello = 8,
+
+ ///
+ /// A single byte of continued existence
+ ///
+ Ping = 12,
+
+ ///
+ /// Message for discontinuing communication.
+ ///
+ Disconnect = 9,
+
+ ///
+ /// Message acknowledging the receipt of a message.
+ ///
+ Acknowledgement = 10,
+
+ ///
+ /// Message that is part of a larger, fragmented message.
+ ///
+ Fragment = 11,
+ }
+}
--
cgit v1.1-26-g67d0