I am developing open source socket server library: https://sourceforge.net/projects/socketservers/
And I would to like to add socket reuse feature to this lib. I have implement draft of this feature, but I do not see any benefits in my tests. The client makes 32K connect-disconnects by 8 items to the server and measure the time. But here is no difference between reusing socket and not reusing socket - same time elapsed for this test.
What I am doing wrong in test?
What benefit should server get when reuse sockets, and how to measure this benefit?