How to test the implementation of a TCP server?

I wrote a TCP server implementation with which I created an application that works as a TCP echo traffic service.

Now I want to test this echo server in terms of

  • How many compounds can he handle
  • What is the response time
  • How much memory and processor does it use.

Please, you can offer any standard method / tools for testing this echo server. I understand that implementing TCP and echo servers is pretty standard practice, so I hope to find installed tools to verify it.

PS: I can write my own test application, but I do not want to do this, because if I see some kind of problem, I need to be sure that this is my server, which does it wrong. I do not want to test my test client first.

I wrote this implementation using C # and .NET 3.5, although I believe that it does not matter with reference to the question.

+3
source share
2 answers

, . , ++. : http://www.lenholgate.com/blog/2005/11/windows-tcpip-server-performance.html. , ( ).

, - ( , , ...) , , . : , 4000 , , MAX_USER_PORT , .

TCP-, , , . #, CodeProject (http://www.codeproject.com/KB/IP/testingsocketservers.aspx). "" ( , , ..). , -, , ++, ..

+4

Source: https://habr.com/ru/post/1724365/


All Articles