Jump to content
Sign in to follow this  
karham

How to Connect them?...

Recommended Posts

karham

Hi all!

Thnks for passing by:P

I was wndering how could i connect a client and a server when one computer is in (for exaple) USA and the other is in japan?

It is more like a chat, but i couldnt make it work with TCP nor UDP (i have tried a lot of IPs like private, public,127.0.0.1, but none of them worked)

Can you please tell me if that is even possible?

And if it is i would need some help with the sintax

Thank you all

Share this post


Link to post
Share on other sites
AdmiralAlkex

Have you ever heard of something called the INTERNET? ;)

And please stop the spamming.

Don't create multiple threads on the same subject.

Don't bump within 24 hours.

Share this post


Link to post
Share on other sites
Camden

The server has to host from a static IP address. Otherwise people from the internet wont be able to connect to you, only people in your local network.

For example:

TcpListen("192.168.50.1",12312)

will only be in your local network

TcpListen("72.168.4.2",12312)

would be global... (what you need)

Call your ISP and see if they can issue you a static IP address.

Share this post


Link to post
Share on other sites
trancexx

The server has to host from a static IP address. Otherwise people from the internet wont be able to connect to you, only people in your local network.

For example:

TcpListen("192.168.50.1",12312)

will only be in your local network

TcpListen("72.168.4.2",12312)

would be global... (what you need)

Call your ISP and see if they can issue you a static IP address.

There is some sense in what you are saying.

Considering it's all under the same hat, interpret some as not much.


♡♡♡

.

eMyvnE

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.