I am making a network example over internet, but having problems connecting my 2 computers. I am using the 8/24/13 version of Enigma when network was working.
My question is am I using the following network commands correctly?
Server Code:
serversocketid = net_connect_tcp("0.0.0.0", "25565", true); if(serversocketid >-1) {tcp = 'connected';} else {tcp = 'Failed';} Client Code:
clientsocketid = net_connect_tcp("108.224.54.186", "25565", false); if(clientsocketid >-1) {tcp = 'connected';} else {tcp = 'Failed';} The server will connect but client wont. This is my first time making network game. I have Ubuntu 12.4 and Firestarter for firewall.
Please help when you get a chance.
Thanks Joe
|