Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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!

..::[ kleptos ]::..
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...