fi3ldy 0 Posted October 23, 2007 (edited) I have a question of which I arn't even close on the knowledge to be able to work out for myself, so any help on this would be appreciated. I'm creating an application which will work with an online game, basically I want to be able to check if the user running my application is connected to a certain server IP. I was wondering how I would check if the computer is connected to a certain server IP address? Thanks, and any help will be greatly appreciated! Edited October 23, 2007 by fi3ldy Share this post Link to post Share on other sites
weaponx 16 Posted October 23, 2007 I got you covered.There is an AutoIT translation of netstat here (posted by giltree):#313714I have tested it and it's really good. It basically returns a 2 dimensional array which you can loop through.So do this:#include <array.au3> _ArrayDisplay(_GetTCPtable()) $table = _GetTCPtable() For $X = 1 to $table[0][0] If $table[$X][3] = "24.56.67.78" Then MsgBox(0,"","Match found") ExitLoop EndIf Next Share this post Link to post Share on other sites
fi3ldy 0 Posted October 23, 2007 Thanks alot buddy! I feel an incredible urge to kiss you ! Share this post Link to post Share on other sites
weaponx 16 Posted October 23, 2007 Thanks alot buddy! I feel an incredible urge to kiss you !I hope you're a chick. Don't go Brokeback Mountain on me! Share this post Link to post Share on other sites