Hello Dear
im be carzy for do this
i want a code with visual basic 6 that shows me how many KB that i recive and send from internet or in Ethernet netwrok with diffrent Programs
Please help me as soon as possible :(
Printable View
Hello Dear
im be carzy for do this
i want a code with visual basic 6 that shows me how many KB that i recive and send from internet or in Ethernet netwrok with diffrent Programs
Please help me as soon as possible :(
Seeing as you are a newbie, this type of project is way out of your league. Go download a packet sniffer.
Here is the first occurence, i found the winpcap wrapper for vb dll, vbpcap.dll.
http://mechx.org/downloads/
Look for the 'Sniffer Delivery Test' that contains the winpcap 3 installer (install first), and the dll also.
Here is an example, how to configure and capture packets by using the vbpcap.dll.
http://planetsourcecode.com/vb/scrip...63993&lngWId=1
You may want to capture every tcp/udp packets, but this example only captures some specific type protocols. You have to extend it.
----------
Also, just like danecook21 told you, its not a toy for newbies. Its better to donwload any freeware network traffic counter, you may found a tons of.
Hello dear agian
i want another source code not sniffer.
i want to calculate how many KiloBytes that i recive and send with diffrent programs
for example:
when i download a file with 2.5 mb , i recive 2560KB
I want that this source can calculate all of data that i send & recive with all diffrent Program not special Programs.
Thanks
a sniffer does capture every packet so you can use it for this purpose. If you can not figure out how to use this for your needs and you want someone to write a specialized program for you to track only this specific information, I suggest you head over to www.rentacoder.com and pay someone to do it. This is a VB help site, not a "Order code to go" site.
Can I get fries with that?:DQuote:
Originally Posted by danecook21
whats your mean?
thats mean you only help to setup vb or how fix the bug of the vb?
whats your help?
if some one want to add two number dont tell him/her that use + only tell him/her to order ?
I can see that this is going to be a fun thread. May I ask if English is your native language, as this may be 95% of the problem here?:)Quote:
Originally Posted by baby_1
could you tell me how i can take the recived & sent packet from activity section of local area connection?
You can only monitor the thrugoing data of a winsock object, that your application uses. As long as you want to monitor any other session, you have to dig into the packet capturing mechanism. Because, you want to monitor how many data coming, and going out from your PC you have to monitor ALL packet sessions, that is quite difficult. You can use the WinPCAP, to monitor them, but you cant use it in vb6 directly. You have to install a WRAPPER that built ontop of WinPCAP.
Those links i posted before, help you to obtain a DLL that is a helper for this job. You also have to install the winpcap, that is in the zip also.
A big no. We are love to programming, thats why we are here. Sometimes we are lost in coding or just stuck on a problem that we cant slove, so we can ask someone else for ideas, tips or examples about how to fix it. Here you can find a lots of well experienced programmers, but we all love to help. Its not a job for anyone, we are a community around programming threads, thats all.Quote:
whats your mean?
thats mean you only help to setup vb or how fix the bug of the vb?
whats your help?
if some one want to add two number dont tell him/her that use + only tell him/her to order ?
If you want to order a coder, just go to rentacoder.com. If you just stuck on a programming code, you can ask here ppl about, how to get rid of it. But dont ask ppl about "Hey dude, do a program for me, and i give you two smileys!" thats quite not working. Not just here, but nowhere on this planet!
You asked us about, you wanna build a network traffic counter. We gave you the tip, you have to use a packet sniffer. I also gave you some quite useful link, where to start. You want something else?
Thanks Jim