CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2000
    Location
    Russia
    Posts
    3

    Network card traffic

    How to count traffic (bytes sent/received) on network card, like RRAS Admin does it? I have not found mpr* API function for this purpose.


  2. #2
    Join Date
    Jul 2000
    Location
    Pakistan
    Posts
    137

    Re: Network card traffic

    do u want stats for traffic sent using a particular protocol like TCP/IP or every kind of traffic?



  3. #3
    Join Date
    Jul 2000
    Location
    Russia
    Posts
    3

    Re: Network card traffic

    Only tcp/ip traffic.


  4. #4
    Join Date
    Jul 2000
    Location
    Pakistan
    Posts
    137

    Re: Network card traffic

    only a transport provider could do such a thing. i mean only the tcp/ip drivers could count the bytes sent and recieved. there are some special drivers which have an api that let u hook ur routines with the driver. try these.

    btw u can count the no of bytes recieved by using a RAW socket.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured