Jump to content
Sign in to follow this  
AceLoc

2 Fast Questions :)

Recommended Posts

AceLoc

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]

Share this post


Link to post
Share on other sites
Marc

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. :)


It's my job to comfort the disturbed and to disturb the comfortable.
My Projects: Profiler, MakeSFX, UserInfo

Share this post


Link to post
Share on other sites
AceLoc

ok and how do i put it in a .html (so i can msgbox it with IEBodyReadHTML)

Thanks!


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

Share this post


Link to post
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
Sign in to follow this  

×