I’m attempting to create multiple clients within the same process. Each client will try to connect to the same server on the same IP address and port.
When i use TCPConnection.GetConnection i keep on getting the same local endpoint, in fact this appears to be the same connection retrieved each time.
This appears to be entirely consistent with the documentation so no issues there really.
I assume if i were connecting to different remote endpoints, that i would get different connections each time, but i haven’t tested this.
I want to set up a test system mainly for profiling, so having 100 separate client programs isn’t really what I’m after.
Is it possible to establish, say, 100 connections to the same IP and port from within the same process?