Results 1 to 12 of 12

Thread: A Source Code Plz

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2008
    Posts
    22

    Unhappy A Source Code Plz

    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

  2. #2
    Hyperactive Member danecook21's Avatar
    Join Date
    Feb 2008
    Location
    NC, USA
    Posts
    501

    Re: A Source Code Plz

    Seeing as you are a newbie, this type of project is way out of your league. Go download a packet sniffer.

  3. #3
    Frenzied Member Jim Davis's Avatar
    Join Date
    Mar 2001
    Location
    Mars base one Username: Jim Davis Password: yCrm33
    Posts
    1,284

    Re: A Source Code Plz

    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.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Nov 2008
    Posts
    22

    Re: A Source Code Plz

    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

  5. #5
    Hyperactive Member danecook21's Avatar
    Join Date
    Feb 2008
    Location
    NC, USA
    Posts
    501

    Re: A Source Code Plz

    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.

  6. #6
    PowerPoster CDRIVE's Avatar
    Join Date
    Jul 2007
    Posts
    2,620

    Re: A Source Code Plz

    Quote Originally Posted by danecook21
    This is a VB help site, not a "Order code to go" site.
    Can I get fries with that?
    Last edited by CDRIVE; Nov 22nd, 2008 at 11:16 AM. Reason: repeated word
    <--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
    If topic has been resolved, please pull down the Thread Tools & mark it Resolved.


    Is VB consuming your life, and is that a bad thing??

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Nov 2008
    Posts
    22

    Re: A Source Code Plz

    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 ?

  8. #8
    PowerPoster CDRIVE's Avatar
    Join Date
    Jul 2007
    Posts
    2,620

    Re: A Source Code Plz

    Quote Originally Posted by baby_1
    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?
    <--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
    If topic has been resolved, please pull down the Thread Tools & mark it Resolved.


    Is VB consuming your life, and is that a bad thing??

  9. #9

    Thread Starter
    Junior Member
    Join Date
    Nov 2008
    Posts
    22

    Re: A Source Code Plz

    could you tell me how i can take the recived & sent packet from activity section of local area connection?

  10. #10
    Frenzied Member Jim Davis's Avatar
    Join Date
    Mar 2001
    Location
    Mars base one Username: Jim Davis Password: yCrm33
    Posts
    1,284

    Re: A Source Code Plz

    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.

  11. #11
    Frenzied Member Jim Davis's Avatar
    Join Date
    Mar 2001
    Location
    Mars base one Username: Jim Davis Password: yCrm33
    Posts
    1,284

    Re: A Source Code Plz

    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 ?
    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.

    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?

  12. #12

    Thread Starter
    Junior Member
    Join Date
    Nov 2008
    Posts
    22

    Re: A Source Code Plz

    Thanks Jim

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