Results 1 to 4 of 4

Thread: Ip Address

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2006

    Ip Address

    I want to scan a port that a game uses, and get all the ip's that are connceted through that port to my server.

    How can I do that and log those ip's to a txt file.

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Ickenham, UK

    Re: Ip Address

    Open up a command prompt and type:
    > netstat -n
    It lists all current connections and their ports.
    PHP || MySql || Apache || Get Firefox || || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!

    Spread happiness and joy. Rate good posts.

  3. #3
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Cheshire, UK

    Re: Ip Address

    if you wanted to do it through your vb app there is loads of examples on search for 'netstat' then you could have your app save the IP's to a txt

  4. #4
    Junior Member
    Join Date
    Mar 2006
    Newcastle, UK

    Re: Ip Address

    To use Netstat and log it to a text file of your choice Open a Command Prompt and use...
    netstat -n > C:\log.txt
    Last edited by Winsocket; Apr 20th, 2006 at 01:39 PM.

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