Detecting Bandwidth and Network Statistics

At least currently, network bandwidth can be a difficult problem to work around. The majority of people on the internet today still have “low speed” modem-based connections. Even those with high-speed or broadband connections (which are steadily increasing) have a maximum upload and download speed. The goal of the network programmer is to ensure that there is little enough information going through the wire so as to not take up all available bandwidth, while at the same time ensuring that enough data is passed through to maintain the information needed.

The application you are writing for has a lot of effect on this as well. For example, if you are writing the server code for a massive online multiplayer ...

Get Managed DirectX® 9 Kick Start: Graphics and Game Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.