Font Size: a A A

Iocp-based Mmo Server Design And Implementation

Posted on:2012-02-17Degree:MasterType:Thesis
Country:ChinaCandidate:J WangFull Text:PDF
GTID:2218330368497991Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In the development of online games program, the most important thing is the server's design and implemention.For the server side, how quikly the server response to the palyer's operation in cases of supportting more and more online players.This technical problem almost exist.In this thesis, we primarily study online games server's network communication module.On the basis of In-depth analysis of Network socket programming model, especially study the Windows platform's IOCP technology. We implement a casual real-time strategy game's server side, the server's network processing used IOCP technology.There are many I/O model,include select model,event driven model,message driven model,overlapped model and complete port overlapped model.Among these model IOCP can improve the software performance by improving the hanrware performance,and can simultaneously process thousands of I/O request. By contrast, IOCP model's advantage is prominent, in the window platform, Completion Port model is suitable for many players simultaneously connecting to the game server.In this thesis, we study and master the common game design, OpenGL program and net communication handle program.We design and implement a tank battle network game's server.Finally we give a normal server and a IOCP server, and test their network capacity with the same test program, contrast the two different server.
Keywords/Search Tags:Server Programming, IOCP, I/O model, Overlapped I/O
PDF Full Text Request
Related items