here is what i have come up with so far .. seems relatively functional .. problem is .. it seems to only be able to process a new message about every 2 seconds! .. perhaps i've done something wrong trying to pick all this together heh .. please advise .. thanks in advance!!!
using System...
hmm thanks!
i think the best way would be as you said using a user class because im going to want to store a reference to the socket as well ...
Dictionary<string, new userClass()> rooms = new Dictionary<string, new userClass()>
something on the lines of that?
im trying to store arraylists in a dictionary .. i dont thikn im doing this right because when i output .. i get 3 results .. b1,b2,and a collections object .. the end goal is to have a running list of channels (chat rooms) and their users (username,socketconnection) .. so when i need to send a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.