getting upload and download bandwidth
i am doing a prog to check the upload and download bandwidth of my computer currently in use
1. i want them to be separate data,upload : 56kb/s, download: 43kb/s. not the sum of the bandwidth together
2. if possible , also separate LAN and internet bandwidth, this is quite hard, i think it involves determining whether the connection is local or internet and sort them out according. or is there a api that does the job
3. number of connections established
anybody knows of any APIs to do the job?