About Store Forum Documentation Contact

Post Reply 
Server IP problem
Author Message
WiLLyRS Offline

Post: #1
Server IP problem
Hi guys, I have a little problem with the connection with a server. I say little because in local it works, but in local with the global ip no. Well, here the code:

This one, the first test, works.
SockAddr server;
if(!connection.clientConnectToServer(server)) Exit("unable to connect wtf");

Then I changed server.setLocal(i) to
server.setIP("", 80)

and every time it worked.

Now, setted all the communication I would like to use the server and the client on different computers, so I tried to change this to:

I've tried server.setGlobal too

but "unable to connect wtf"

what am I missing? I've already opened the 65535 port on my router and both client and server run on the same computer! Thanks in advice
04-28-2011 07:23 PM
Find all posts by this user Quote this message in a reply
Dandruff Offline

Post: #2
RE: Server IP problem
turn off your firewall/virus programs and try again
04-28-2011 11:53 PM
Find all posts by this user Quote this message in a reply
Post Reply