I'm running an old performance test client written in WinForm long ago.
We have many devices working with Synchronous TCP connection against a server. The Performance test is designed to simulate the work of multiple such devices working concurrently by activating a dll which simulates a single device..
So far it was working ok, but now when I increased the amount of concurrent threads (to 150), I realize that the application cannot spawn so many threads.
After reading this and this I understand that the way the performance application is working (connection per thread) is wrong, and that it should be async. but there is now way to change the dll i'm invoking.
Is there any way I can use up more threads in the current condition, ie - keeping the TCP synchronous?