i dont know, if it helps with synch, but the point is..how i was thinking of designing the server was, have a server thread which does all the accepting of new clients and then spawn a new thread for a client to be handled, now each client thread need to know of all the other threads, to be able to broadcast or pick the right username and send a message to it. so i thought make the vector static in the client thread, so there is only one storage space and not as many as the objects of client thread, so thats y, u have consistency throughout all the client threads.
i am sure there must be a better and different way of doing it, havent really thought about it too much.
but hope this helps..y i was thinking of making it static.
cheers,
Ankur