Hello dears

I want to take how many KB Datas i recived and sent with our connetion ?
for example: when i download 2.5 mb file i recived
2560 KB

Could you give me a source code?

No one can help me?

if this question is so hard please tell me how i can use ip to find the number of recive and sent packet in local area connect ( section activity)

Its harder than you think

Its very easy go get the number of packets, but working out the data transfereed is then difficult as packets can be many or even non-uniform sizes depending on configuration (wiki for the defnition of MTU)

Are you famililiar with the Win32 API and using it from VB6?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.