How does this code work? (a tale of MUD server baffle-ry)
I found some sample code establishing a multi-threaded chat server, written with the intent of being expanded into a simple MUD on this website: <http://bytes.com/topic/c-sharp/answers/275416-c-mud-telnet-server>

The thread is quite old, so I can't ask any questions there, so I figured I'd turn to the kind folks at stackoverflow to help explain something to me.

Before I get into writing a MUD, I'd like to understand how the above code (which I intend to use as a base to get started) works, so I can modify the basic architecture if I need things to work differently. What I don't understand though, is how it can be starting new threads with each Connection which instantiates its own ArrayList of connection, which it only adds itself to, but still communicate with other users.

I'm assuming it's some basic lack of understanding of how threads work or something of the sort, but no matter how long I stare at that code I can't figure it out.

Thanks in advance,
HJD
How does this code work? (a tale of MUD server baffle-ry)
===

I found some sample code establishing a multi-threaded chat server, written with the intent of being expanded into a simple MUD on this website: <http://bytes.com/topic/c-sharp/answers/275416-c-mud-telnet-server>

The thread is quite old, so I can't ask any questions there, so I figured I'd turn to the kind folks at stackoverflow to help explain something to me.

Before I get into writing a MUD, I'd like to understand how the above code (which I intend to use as a base to get started) works, so I can modify the basic architecture if I need things to work differently. What I don't understand though, is how it can be starting new threads with each Connection which instantiates its own ArrayList of connection, which it only adds itself to, but still communicate with other users.

I'm assuming it's some basic lack of understanding of how threads work or something of the sort, but no matter how long I stare at that code I can't figure it out.

Thanks in advance,
HJD