EQStream and EQStreamFactory
I've been going through the server code and have a couple of questions around EQStream::Write and EQStreamFactory::WriterLoop.
The Write method limits the number of bytes sent per stream and it looks like the Decay timer in WriterLoop is used to gradually reduce the # of bytes sent. Is the purpose to keep one client from potentially starving the other connected clients, is this to keep from maxing out the server's UDP buffer, or is it a combination or some other reason?
Thank you!
|