title: How to test a TCP server implementation?
body: <p>I have written a TCP server implementation using which I created an application which works as TCP echo service.</p>
  
  <p>Now I want to test this echo server in terms of</p>
  
  <ul>
  <li>How many connections it can handle</li>
  <li>What is the response time</li>
  <li>How much memory and CPU it uses</li>
  </ul>
  
  <p>Please can you suggest any standard method/tools to test this echo server. I understand that both TCP and echo server implementation is fairly standard practice so I hope to find established tools to test it.</p>
  
  <p>P.S.: I can write my own test application but I don't want to do it because if I see some problem, I need to be sure that it is my server that is doing it wrong. I don't want to end up testing my test client first.</p>
  
  <p>I wrote this implementation using C# and .NET 3.5 though I believe it doesn't matter with reference to the question.</p>