Monitoring network traffic on LAN using VC++
-
Hi, I want to monitor network traffic of LAN. Basically, my current application is continously transferring data from one computer to another on LAN. Currently i have fixed the tranfer rate i.e. in my application i have mentioned tranfer rate of 32 KB. Now i am planning to optimize my application by changing tranfer rate dynamically. That is, i'll calculate bandwidth of LAN and depending upon the availability i'll send data. Please help Thanks in Advance!! Regards, Tony
-
Hi, I want to monitor network traffic of LAN. Basically, my current application is continously transferring data from one computer to another on LAN. Currently i have fixed the tranfer rate i.e. in my application i have mentioned tranfer rate of 32 KB. Now i am planning to optimize my application by changing tranfer rate dynamically. That is, i'll calculate bandwidth of LAN and depending upon the availability i'll send data. Please help Thanks in Advance!! Regards, Tony
-
-
Hi, I want to monitor network traffic of LAN. Basically, my current application is continously transferring data from one computer to another on LAN. Currently i have fixed the tranfer rate i.e. in my application i have mentioned tranfer rate of 32 KB. Now i am planning to optimize my application by changing tranfer rate dynamically. That is, i'll calculate bandwidth of LAN and depending upon the availability i'll send data. Please help Thanks in Advance!! Regards, Tony
What do you mean by "calculate bandwidth of LAN"? Available bandwidth is always changing.
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
What do you mean by "calculate bandwidth of LAN"? Available bandwidth is always changing.
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Yeah thats what Bandwidth is always changing. So i need to know the Bandwidth of a LAN everytime i send data.
You'd need to add something to your protocol so one or both endpoints monitor throughput and adjust accordingly. You have the data you need - time and number of bytes sent/received. Maybe look up "network bandwidth throttling" for algorithms to interpret that data. Mark
Mark Salsbery Microsoft MVP - Visual C++ :java: