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.

We're not going to be able to help you much from a description and a couple of lines of random code.
http://www.catb.org/~esr/faqs/smart-questions.html

If you can pare your code down to "this code doesn't work", then that is something we could probably work with.

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.