Jump to content

How to Connect them?...


karham
 Share

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...