My dedicated server has 5 usable, static IP addresses. This server's primary objective is to create and maintain several hundred connections to a single destination. Understandably, after a few hundred connections have been established, I am confronted with socket read/write exceptions and mass disconnects. This likely occurs because the destination either recognizes the single origin IP address and temporarily blocks it, or because the single link between A and B becomes unstable.
In effect, I'd like to witness the results of dividing the connections between multiple source IP addresses.
My research so far has led me to questions and answers like this one, which suggest using ServicePoint.BindIPEndPointDelegate
.
However, I would like to bind the entire console app to a specific IP address. How do I accomplish this?
Note: I am using FluorineFX at the moment. If a solution exists to tell FluorineFX which IP address to make connections from, that would work as well.