private static void RunTest(JsonWebSocket websocket) { websocket.Send("ECHO", Guid.NewGuid().ToString() + Guid.NewGuid().ToString() + Guid.NewGuid().ToString() + Guid.NewGuid().ToString()); Interlocked.Increment(ref m_Sent); }
private static void RunTest(JsonWebSocket websocket) { websocket.Send("ECHOX", new ClientInfo { ID = m_Random.Next(1, 1000), Height = m_Random.Next(1, 1000), LocationX = m_Random.Next(1, 1000), LocationY = m_Random.Next(1, 1000) }); Interlocked.Increment(ref m_Sent); }