static void Main(string[] args) { myClient client = new myClient(); client.SendMessage("Naber la"); Console.WriteLine("Hello World!"); }
public void FloodTest() { for (int i = 0; i <= 50; i++) { Assert.True(_client.isConnected()); _client.SendMessage(DateTime.Now.Ticks.ToString()); } }
public void TestConnect() { Assert.True(client.isConnected()); client.SendMessage("aaaaa bbbbbbb cccccccc"); Assert.True(client.CloseConnection()); }