I am a Newbie in Java.
I have this code
Socket sc = serverSocket.accept();
ClientThread ct = new ClientThread(sc);
Can I send messages to the thread after it is started?
Can I add a function 'connect' in the clientThread class, and call later ct.connect() ??
I tried doing so, but it didn't work,
I want to know if it always doesn't work (not be able to connect to the thread after you run it)
or because my code is wrong
Happy New Year