Results 1 to 2 of 2

Thread: [RESOLVED] Error in the netstat command

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2006
    Posts
    30

    Resolved [RESOLVED] Error in the netstat command

    I am creating a firewall in which I am using netstat -o command to retrieve the number of comps that connected to my computer. Also i am scanning for the applications that are currently using my internet connection. But my application hangs on the statement


    ret = WaitForSingleObject(proc.hprocess, INFINITE) where ret is defined as long

    Plz help

  2. #2
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    Re: Error in the netstat command

    I dontknow whats wrong with your code but theres loads of netstat examples at www.pscode.com/vb
    I tried a few, most didnt work, must be because of my win2k OS, but this one worked, and as it says in its title it is fast...

    http://www.pscode.com/vb/scripts/Sho...30786&lngWId=1

    Chris

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