ok first for my client.

I have everything made i was just wondering how after a set amount of lines the chat will clear OR once the text reaches the bottom it keep scrolling down.

Now for my server.

Everything is made but i wanna make it so that it displays the current online users. i have the thing that adds 1 to the count but i dunno how to minus one when someone disconnects.I also wanna make it so that after someoen disconnects the winsock array is closed.... anyone got any ideas how to do that?

Thanks for your help,
David