Answer: epoll if you use Linux, kqueue if you use FreeBSD or Mac OS X, and I / O completion ports if you are on Windows.
Some of the additional things you (almost certainly) want to explore are:
- Load balancing methods
- Multithreaded network
- Database architecture
- Perfect hash tables
Also important Note that UDP has no "connections", not TCP. It would also be in your interest to start small and large-scale, as debugging network solutions can be a difficult task.
Kalantir Nov 05 '10 at 21:58 2010-11-05 21:58
source share