Sign in to follow this  
Followers 0
ludocus

TCPConnect with my ip address..

6 posts in this topic

@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!

Share this post


Link to post
Share on other sites



You have to forward the PORT to your 10.0.0.4

Lar.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

TCPListen on @IPAddress1 ... forward port or router to @IPAddress1 .... TCPConnect to router address (most likely myIP)

Lar.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites

Could you give an example of that? (in code)

Share this post


Link to post
Share on other sites

#6 ·  Posted (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 by TomZ

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  
Followers 0