diff --git a/Galactic Colors Control/Program.cs b/Galactic Colors Control/Program.cs index fce2ec9..6e7e0b3 100644 --- a/Galactic Colors Control/Program.cs +++ b/Galactic Colors Control/Program.cs @@ -227,16 +227,16 @@ namespace Galactic_Colors_Control /// Send success private bool Send(Data packet) { - //try - //{ + try + { ClientSocket.Send(packet.ToBytes()); return true; - /*} + } catch //Can't contact server { _errorCount++; } - return false;*/ + return false; } ///