Having problem networking two computers with a game I designed. I am using java, i have written a file that will comunicate with the server as its own thread, and it works fine with the server application when run on its own. However, when i run the client thread within the game applet using multi threading (the client extends Thread) there seems to be no communication between the game and server whatso-ever. the code is something like this:

AppletINIT{
Client c = new Client(hostname,applet);
c.start();
}

when i put println's in the client thread, it says that it's running all the way through, but no connections are ever made.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.