Many of you have probably seen this article already (it’s from 2001), but I think it’s still relevant, and provides an insight into how to program network code for games involving a large number of units.
Specifically, it details the scheme used in Age of Empires 1 & 2
It’s certainly not the only way to do it, but educational nonetheless.