ludocus Posted July 6, 2008 Share Posted July 6, 2008 @IPAddress1 return 10.0.0.4 at my house.. And _GetIP() returns my ip adress.. (my real one..) so I want to TCPConnect with _GetIP() but for some reason that just doesn't work... GRRR!!! so I can never have a server running on my computer.. is there something to do about it? because I am making a chat thingie.. but if I can't run the server on my computer then.. No one can use it.. muttley Please I really need help! Link to comment Share on other sites More sharing options...
LarryDalooza Posted July 6, 2008 Share Posted July 6, 2008 You have to forward the PORT to your 10.0.0.4 Lar. AutoIt has helped make me wealthy Link to comment Share on other sites More sharing options...
ludocus Posted July 6, 2008 Author Share Posted July 6, 2008 ok I did this.. so you say I can now do: (btw the server): #include <INet.au3> TCPStartup() $errro = TCPConnect(@IPAddress1, 88) msgbox(32, 'error', $errro) Exit but this returns -1 and if I do @IPAddress1 it returns some big number.. (1570 or something) Link to comment Share on other sites More sharing options...
LarryDalooza Posted July 6, 2008 Share Posted July 6, 2008 TCPListen on @IPAddress1 ... forward port or router to @IPAddress1 .... TCPConnect to router address (most likely myIP) Lar. AutoIt has helped make me wealthy Link to comment Share on other sites More sharing options...
ludocus Posted July 6, 2008 Author Share Posted July 6, 2008 Could you give an example of that? (in code) Link to comment Share on other sites More sharing options...
TomZ Posted July 7, 2008 Share Posted July 7, 2008 (edited) There's no code for that. Fowarding ports on the router is something autoit has nothing to do with. http://www.portforward.com/ Edited July 7, 2008 by TomZ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now