Network Code Refactoring

Something that has bugged me for a while is the current implementation of the network driver.  It was never meant to be production code, rather just a foundation to test and work from.

The new implementation will use Windows Overlapped I/O with callback notifications, instead of polling for events and/or creating a bunch of threads.  I plan to allow upwards of 10,000 connections per-server!  So, I have to be very careful with how this is ultimately re-designed.  I printed out some of the Orion Engine code for the network manager, and the network driver.  I also printed out some of the Winsock documentation.  I have my yellow hi-liter!  I’m going to spread all of this out on a big table this weekend, and get really focused!

About Eric DeBrosse

Lead developer of the Orion Engine.
This entry was posted in Engine Development, Game Development. Bookmark the permalink.