However, following my original example, 5 connections will still mean 11 open sockets at all times.
So don't follow your original example.
I was looking to do it somehow else.
I told you how to do it 'somehow else'. I don't get it. You ignored what I wrote, then demanded the answer I gave you, while insisting on continuing on doing it the wrong way. Do you work for MicroSoft?
Pay attention this time:
- Sockets are bidirectional. YOU DO NOT NEED TWO PER CONNECTION.
- You don't need to manage ports. The kernel does it for you already. STOP DOING IT YOURSELF.
____________________
Jeremy
I didn't believe in evil until I dated it. |