i got 1 idia and i will try executing what i have in mind but i am not sure if it will work so this is why am making this tread ahead before i starting coding into my project here it goes.
i have multi chat rooms using winsock but i want to limit each chatroom 50 users.
this is what i have in mind and please correct me if this will work , list1 gets populated with room usernames.
============================================
this is the main chat room already got 50 users inside of it
============================================
==================================================
this is a new client trying to join that room
in dattaarival
i will enter code such as
If List1.ListCount = "50" Then
then deny connection request
msgbox = " room full "
end if
this is basic of what i want to do how can i achive this i need your help
i have multi chat rooms using winsock but i want to limit each chatroom 50 users.
this is what i have in mind and please correct me if this will work , list1 gets populated with room usernames.
============================================
this is the main chat room already got 50 users inside of it
============================================
==================================================
this is a new client trying to join that room
in dattaarival
i will enter code such as
If List1.ListCount = "50" Then
then deny connection request
msgbox = " room full "
end if
this is basic of what i want to do how can i achive this i need your help