Jump to content

2 Fast Questions :)


AceLoc
 Share

Recommended Posts

so im busy with a program again.. some of you will know that

if someone send something on msn you can use "netstat" to see his IP / ISP etc.

Funniest thing is that its always on the same Port it looks like

TCP  Computername:2870   Somethingshere:Port#    ESTABLISHED

now my question is if i use 'Netstat' then it will show much much more then only the Msn part

so i want it to read that part only.. is this possible? if it is how.. ? :P

Thanks! :)

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Link to comment
Share on other sites

netstat | find ":2870"

does list only the port 2870-entries.

Or you could dump the netstat into a file, read it line by line and search for the desired line. :)

Any of my own codes posted on the forum are free for use by others without any restriction of any kind. (WTFPL)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...