karham Posted December 25, 2009 Share Posted December 25, 2009 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 More sharing options...
karham Posted December 25, 2009 Author Share Posted December 25, 2009 No ideas? T.T Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted December 26, 2009 Share Posted December 26, 2009 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. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Camden Posted December 26, 2009 Share Posted December 26, 2009 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 More sharing options...
trancexx Posted December 26, 2009 Share Posted December 26, 2009 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 networkTcpListen("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 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