Fixed C# socket connection.