Results 1 to 4 of 4

Thread: [RESOLVED] Netstat doesn't show address of remote UDP "connection"

  1. #1

    Thread Starter
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Resolved [RESOLVED] Netstat doesn't show address of remote UDP "connection"

    There's this game that uses the UDP protocol and I'm trying to figure out what server the user is playing on through netstat.

    But from experience (trust me I've tried all the parameters/options), and from reading on the net, it doesn't show the remote address of a UDP "connection".

    It just shows the local/listening port.

    I've tried Microsoft's TCPView program and that doesn't work either.

    Is there any solution?

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: Netstat doesn't show address of remote UDP "connection"

    Since UDP is connectionless, I doubt you'll find this information.
    Have you read up on the available information for the specific game to see if it provides some way of determining the current server?
    Another option is to intercept the datagrams recieved on the port on which the game is listening, and read its destination IP.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  3. #3
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    Re: Netstat doesn't show address of remote UDP "connection"

    Prehaps this might help.
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  4. #4

    Thread Starter
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Netstat doesn't show address of remote UDP "connection"

    Yeah I ended up having to use some raw packet sniffing code and reading packets to know what server they are on, when they leave the game, etc.

    Thanks.

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