Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3846174
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T16:21:27+00:00 2026-05-19T16:21:27+00:00

e.g. recent versions of TCPView has such functionality: showing bytes sent/received per TCP connection

  • 0

e.g. recent versions of TCPView has such functionality: showing bytes sent/received per TCP connection (counting starts when TCPView is launched). is it possible w/o packet sniffering? does windows provides any API for this? I haven’t found such Performance Counter

how to enumerate all connections are described here

EDIT: does TDI help to receive per-socket transfer statistics? NetBIOS? any links where to dig?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T16:21:27+00:00Added an answer on May 19, 2026 at 4:21 pm

    I want to implement this function also, so I reverse tcpview 3.0.2.

    I found, tcpview use a WMI performance counter MSNT_TcpIpInformation.

    But MSNT_TcpIpInformation is not supported in xp and 2003 officially.

    here is the description, you can reference to.
    http://www.scriptinternals.com/new/us/support/Internal/WMI_MSNT_TcpIpInformation.htm

    by the way, MSNT_TcpIpInformation have no information about packets, so tcpview just increment sent and revd packets everytime.
    here is the disassemble:

    CPU Disasm
    Address   Hex dump          Command                                           Comments
    0040B41B  |.  83E8 02       SUB EAX,2                                         ; Switch (cases 2..3, 3 exits)
    0040B41E  |.  74 29         JE SHORT 0040B449
    0040B420  |.  83E8 01       SUB EAX,1
    0040B423  |.  75 40         JNE SHORT 0040B465
    0040B425  |.  8B57 1C       MOV EDX,DWORD PTR DS:[EDI+1C]                     ; Case 3 of switch Tcpview.40B41B
    0040B428  |.  0196 90060000 ADD DWORD PTR DS:[ESI+690],EDX
    0040B42E  |.  119E 94060000 ADC DWORD PTR DS:[ESI+694],EBX
    0040B434  |.  8386 C0060000 ADD DWORD PTR DS:[ESI+6C0],1
    0040B43B  |.  119E C4060000 ADC DWORD PTR DS:[ESI+6C4],EBX
    0040B441  |.  5E            POP ESI
    0040B442  |.  5F            POP EDI
    0040B443  |.  5D            POP EBP
    0040B444  |.  5B            POP EBX
    0040B445  |.  83C4 3C       ADD ESP,3C
    0040B448  |.  C3            RETN
    0040B449  |>  8B47 1C       MOV EAX,DWORD PTR DS:[EDI+1C]                     ; Case 2 of switch Tcpview.40B41B
    0040B44C  |.  0186 78060000 ADD DWORD PTR DS:[ESI+678],EAX
    0040B452  |.  119E 7C060000 ADC DWORD PTR DS:[ESI+67C],EBX
    0040B458  |.  8386 A8060000 ADD DWORD PTR DS:[ESI+6A8],1
    0040B45F  |.  119E AC060000 ADC DWORD PTR DS:[ESI+6AC],EBX
    0040B465  |>  5E            POP ESI                                           ; Default case of switch Tcpview.40B41B
    0040B466  |.  5F            POP EDI
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My application has had the following lines without any trouble in recent versions of
In recent versions of the free and open source Eclipse IDE you can generate
This jQuery statement works in recent versions of Firefox and Chrome but throws an
A few days ago I was told that recent versions of g++ produce better
Recent conversations with colleagues have produced varying points of view on this matter. What
The Recent Projects panel on the Start Page of VS2008 Professional doesn't appear to
A recent article on Ars Technica discusses a recent study performed by the Psychology
A recent question about string literals in .NET caught my eye. I know that
A recent question came up about using String.Format(). Part of my answer included a
A recent question about StyleCop alerted me to the use of tools to enforce

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.