Help With Multiuser Socket Connections

kleptos

Well-known member
Joined
Jul 16, 2003
Messages
47
Location
Boca Raton, FL
I havent seen any threads about this topic so here i go. I am new to the board so bear with me.

I am in need of help, direction, anything dealing with sockets. I am working on a MUD and i need to create a server that can accept multiple connections and broadcast back to all clients connected. I will try anything at this point, i cant seem to find a good explanation/tutorial on how to do so.

Thanks for the help!
 
I never got a good sample about multi connection also.
what I ever do is just like client-server program. create winsock control array to accept connection (for ex. Winsock1 listen and Winsock2(i) accept connection)

and for sending out. I just use for loop to send data to all connection (of course... this will have delay for client at the tail of list). so If you want some sample for this bad code. I can provide.
 
Back
Top