Results 1 to 1 of 1
- 08-08-2014, 10:47 PM #1Member
- Join Date
- Aug 2014
- Rep Power
Problem sending message through socket
Hi, im trying to create a simple chat application with a client gui and server dispatching messages but it dosnt seem to send message through socket. Im new to networking so maybe someone knows whats the problem.
here is the code: https://gist.github.com/anonymous/78d2c2afd5bc28668fed
The problem seems to be in clientManager run method. I have access to all the incoming messages and can print them but i cannot send it back to all sockets connected that i put in an arrayList.
Im not trying to refactor here so maybe you will think this is a mess...
- By eLancaster in forum New To JavaReplies: 5Last Post: 05-31-2011, 08:34 PM
- By perl010101 in forum Advanced JavaReplies: 1Last Post: 05-25-2011, 11:43 PM
- By perl010101 in forum New To JavaReplies: 0Last Post: 05-25-2011, 09:26 PM
- By sivasankar in forum CLDC and MIDPReplies: 0Last Post: 02-16-2011, 09:56 AM
- By vibhor in forum NetworkingReplies: 2Last Post: 02-20-2009, 06:39 AM