hi, I writing a multi-user chat application and need some help. can anyone tell me why this functions only prints the first name (first connected client) and not the rest ?
code: -----
public void setClientInfo(String info) {
StringTokenizer st = new StringTokenizer(info); int tel = st.countTokens(); System.out.println(tel); name = st.nextToken(); sex = st.nextToken(); while(st.hasMoreTokens()) { brol = st.nextToken(); }
if you need more code to solve it or to get a clearer view, just ask here, or email me for complete code =>levawa@vt4.net or contact me through icq :108862592 i much appreciate the help