From e106eafb6c519f3a5bbb187605e3f009f7a6438c Mon Sep 17 00:00:00 2001 From: Filip Maj Date: Mon, 29 Aug 2016 12:41:33 -0400 Subject: [PATCH] Server.cs Cleanup2 --- FFXIVClassic Map Server/Server.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/FFXIVClassic Map Server/Server.cs b/FFXIVClassic Map Server/Server.cs index 898bdfb3..d0af47a5 100644 --- a/FFXIVClassic Map Server/Server.cs +++ b/FFXIVClassic Map Server/Server.cs @@ -2,11 +2,9 @@ using System.Collections.Generic; using System.Net; using System.Net.Sockets; -using System.Threading; using FFXIVClassic_Map_Server.dataobjects; using FFXIVClassic.Common; -using NLog; using FFXIVClassic_Map_Server.Actors; using FFXIVClassic_Map_Server.lua; @@ -53,11 +51,11 @@ namespace FFXIVClassic_Map_Server mWorldManager.LoadSpawnLocations(); mWorldManager.SpawnAllActors(); - IPEndPoint serverEndPoint = new System.Net.IPEndPoint(IPAddress.Parse(ConfigConstants.OPTIONS_BINDIP), int.Parse(ConfigConstants.OPTIONS_PORT)); + IPEndPoint serverEndPoint = new IPEndPoint(IPAddress.Parse(ConfigConstants.OPTIONS_BINDIP), int.Parse(ConfigConstants.OPTIONS_PORT)); try { - mServerSocket = new System.Net.Sockets.Socket(serverEndPoint.Address.AddressFamily, SocketType.Stream, ProtocolType.Tcp); + mServerSocket = new Socket(serverEndPoint.Address.AddressFamily, SocketType.Stream, ProtocolType.Tcp); } catch (Exception e) {