From c3906e7d6023d4b97ef16a9cabe39658139da2bc Mon Sep 17 00:00:00 2001 From: "derek.holloway" Date: Wed, 1 Jul 2026 12:15:52 -0700 Subject: [PATCH] Correct header cleanup --- CLI/HelpDocumentation.cs | 4 +-- CLI/Program.cs | 4 ++- MistoxServer/Client/TCPClient.cs | 5 +++- MistoxServer/Client/UDPClient.cs | 5 +++- MistoxServer/Interface/ClientInterface.cs | 5 +++- MistoxServer/Interface/Interface.cs | 4 ++- MistoxServer/Interface/ServerInterface.cs | 7 ++++- MistoxServer/MistoxServer.sln | 31 ----------------------- MistoxServer/Server/ServerListener.cs | 5 +++- MistoxServer/Server/TCPServer.cs | 4 ++- MistoxServer/mExtensions.cs | 1 - 11 files changed, 32 insertions(+), 43 deletions(-) delete mode 100644 MistoxServer/MistoxServer.sln diff --git a/CLI/HelpDocumentation.cs b/CLI/HelpDocumentation.cs index 0acf9e3..1ac992b 100644 --- a/CLI/HelpDocumentation.cs +++ b/CLI/HelpDocumentation.cs @@ -1,6 +1,4 @@ - - -namespace MistoxHolePunch { +namespace MistoxHolePunch { class HelpDocumentation { public static string HelpText = @" diff --git a/CLI/Program.cs b/CLI/Program.cs index dd83e58..de7c053 100644 --- a/CLI/Program.cs +++ b/CLI/Program.cs @@ -1,4 +1,6 @@ - +using System; +using System.Threading.Tasks; +using MistoxServer; namespace MistoxHolePunch { class Program { diff --git a/MistoxServer/Client/TCPClient.cs b/MistoxServer/Client/TCPClient.cs index 14aaeca..81cd9be 100644 --- a/MistoxServer/Client/TCPClient.cs +++ b/MistoxServer/Client/TCPClient.cs @@ -1,5 +1,8 @@ -using System.Net; +using System; +using System.Net; using System.Net.Sockets; +using System.Threading; +using System.Threading.Tasks; //IP Range Updater diff --git a/MistoxServer/Client/UDPClient.cs b/MistoxServer/Client/UDPClient.cs index 756b57c..5ad6c25 100644 --- a/MistoxServer/Client/UDPClient.cs +++ b/MistoxServer/Client/UDPClient.cs @@ -1,5 +1,8 @@ -using System.Net; +using System; +using System.Net; using System.Net.Sockets; +using System.Threading; +using System.Threading.Tasks; // Network Sync diff --git a/MistoxServer/Interface/ClientInterface.cs b/MistoxServer/Interface/ClientInterface.cs index dfc5e0c..f998080 100644 --- a/MistoxServer/Interface/ClientInterface.cs +++ b/MistoxServer/Interface/ClientInterface.cs @@ -1,4 +1,7 @@ -using System.Net; +using System; +using System.Net; +using System.Threading.Tasks; +using MistoxServer.Client; namespace MistoxServer { public class ClientInterface : IMistoxServer { diff --git a/MistoxServer/Interface/Interface.cs b/MistoxServer/Interface/Interface.cs index 35360f4..e8b2648 100644 --- a/MistoxServer/Interface/Interface.cs +++ b/MistoxServer/Interface/Interface.cs @@ -1,4 +1,6 @@ -using System.Net; +using System; +using System.Net; +using System.Threading.Tasks; namespace MistoxServer { public partial class mServer { diff --git a/MistoxServer/Interface/ServerInterface.cs b/MistoxServer/Interface/ServerInterface.cs index b42f384..98b4bc6 100644 --- a/MistoxServer/Interface/ServerInterface.cs +++ b/MistoxServer/Interface/ServerInterface.cs @@ -1,4 +1,9 @@ -using System.Net; +using System; +using System.Collections.Generic; +using System.Net; +using System.Threading.Tasks; +using MistoxServer.Client; +using MistoxServer.Server; namespace MistoxServer { public class ServerInterface : IMistoxServer { diff --git a/MistoxServer/MistoxServer.sln b/MistoxServer/MistoxServer.sln deleted file mode 100644 index f9bb559..0000000 --- a/MistoxServer/MistoxServer.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.31729.503 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MistoxServer", "MistoxServer.csproj", "{947D92F0-B737-4D1D-857B-F4EAB70D6980}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CLI", "..\CLI\CLI.csproj", "{B8EA2F11-62A3-45B2-8FDC-E734FD6B87E1}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {947D92F0-B737-4D1D-857B-F4EAB70D6980}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {947D92F0-B737-4D1D-857B-F4EAB70D6980}.Debug|Any CPU.Build.0 = Debug|Any CPU - {947D92F0-B737-4D1D-857B-F4EAB70D6980}.Release|Any CPU.ActiveCfg = Release|Any CPU - {947D92F0-B737-4D1D-857B-F4EAB70D6980}.Release|Any CPU.Build.0 = Release|Any CPU - {B8EA2F11-62A3-45B2-8FDC-E734FD6B87E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B8EA2F11-62A3-45B2-8FDC-E734FD6B87E1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B8EA2F11-62A3-45B2-8FDC-E734FD6B87E1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B8EA2F11-62A3-45B2-8FDC-E734FD6B87E1}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {59213D9A-3888-4C3D-9EB7-BB116FAB1EB7} - EndGlobalSection -EndGlobal diff --git a/MistoxServer/Server/ServerListener.cs b/MistoxServer/Server/ServerListener.cs index 32cb079..b573ca3 100644 --- a/MistoxServer/Server/ServerListener.cs +++ b/MistoxServer/Server/ServerListener.cs @@ -1,5 +1,8 @@ -using System.Net; +using System; +using System.Net; using System.Net.Sockets; +using System.Threading; +using System.Threading.Tasks; // Client Connections diff --git a/MistoxServer/Server/TCPServer.cs b/MistoxServer/Server/TCPServer.cs index 3fcedbf..607061b 100644 --- a/MistoxServer/Server/TCPServer.cs +++ b/MistoxServer/Server/TCPServer.cs @@ -1,4 +1,6 @@ -using System.Net.Sockets; +using System; +using System.Net.Sockets; +using System.Threading.Tasks; namespace MistoxServer.Server { public class mTCPServer : IDisposable { diff --git a/MistoxServer/mExtensions.cs b/MistoxServer/mExtensions.cs index 64d4fad..9d8ead8 100644 --- a/MistoxServer/mExtensions.cs +++ b/MistoxServer/mExtensions.cs @@ -1,6 +1,5 @@ using System; using System.IO; -using System.Net; using System.Text; using MsgPack.Serialization;