Jump to content
Sign in to follow this  
ludocus

TCPConnect with my ip address..

Recommended Posts

ludocus

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

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
ludocus

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
LarryDalooza

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
ludocus

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.