vkstarry wrote:i learned it in only 1 hour.
Whehe, that means that you are good at it - not me.
vkstarry wrote:nah i got question, chatroom is something that everyone sees every word.
if server receive text from 1 client, server should loop and send it one by one
Yup, or store it all in a central location (but than you'd have a server again).
You could "promote" one of your peers to "act" as a server for the duration of the chat. All the clients would have to agree on who gets promoted, but it should generate less traffic than having each client update each client.
Bastard Programmer from Hell