View Single Post
  #1  
Old 02-17-2014, 08:19 PM
daerath
Sarnak
 
Join Date: Jan 2011
Location: Northern VA
Posts: 91
Default 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!
Reply With Quote