Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems over Windows Server 2008
#8
Hmm, follow Spodi's path? "SOX with optimized binary packet sending"
Don't know how he does it though.

Spodi Wrote:SOX is just a nice wrapper for the Winsock API. Theres a few hacks you want to do on the socket itself to get it prepped for a game engine, though. For example, it sends a 4-byte (long) overhead for every SEND command, which is pretty useless for a game server (integer would suffice), the default send/recv buffer comes at 8192 bytes (you'd be fine lowering that to around 512 bytes easily), etc.

And just a heads up, you cant use IOCP with SOX I believe, so you can't have an IOCP server and SOX client, because of the additional header I mentioned earlier.

http://www.planet-source-code.com/vb/sc ... 4&lngWId=3
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)