Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Monitoring network traffic on LAN using VC++

Monitoring network traffic on LAN using VC++

Scheduled Pinned Locked Moved C / C++ / MFC
c++sysadminhelpcode-review
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tony_Udz
    wrote on last edited by
    #1

    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

    S M 2 Replies Last reply
    0
    • T tony_Udz

      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

      S Offline
      S Offline
      SandipG
      wrote on last edited by
      #2

      Check here[^]and here[^] I hope it helps. I got these using CP search ,there are few more.

      Regards, Sandip.

      T 1 Reply Last reply
      0
      • S SandipG

        Check here[^]and here[^] I hope it helps. I got these using CP search ,there are few more.

        Regards, Sandip.

        T Offline
        T Offline
        tony_Udz
        wrote on last edited by
        #3

        Thanks for the help but these articles explains about monitoring bandwidth of internet whereas i want for LAN. Also i tried googling for this topic but was not successful enough.

        1 Reply Last reply
        0
        • T tony_Udz

          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

          M Offline
          M Offline
          Mark Salsbery
          wrote on last edited by
          #4

          What do you mean by "calculate bandwidth of LAN"? Available bandwidth is always changing.

          Mark Salsbery Microsoft MVP - Visual C++ :java:

          T 1 Reply Last reply
          0
          • M Mark Salsbery

            What do you mean by "calculate bandwidth of LAN"? Available bandwidth is always changing.

            Mark Salsbery Microsoft MVP - Visual C++ :java:

            T Offline
            T Offline
            tony_Udz
            wrote on last edited by
            #5

            Yeah thats what Bandwidth is always changing. So i need to know the Bandwidth of a LAN everytime i send data.

            M 1 Reply Last reply
            0
            • T tony_Udz

              Yeah thats what Bandwidth is always changing. So i need to know the Bandwidth of a LAN everytime i send data.

              M Offline
              M Offline
              Mark Salsbery
              wrote on last edited by
              #6

              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:

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups