Creating a Dedicated Server Session

Obviously, you will need to create a server before the client. Without the server, what exactly could the client do? In practice, you may find working on both the client and server portions of the code in tandem beneficial. That model will be followed here, but before you get to that point, you have to meet a “bare minimum” standard of working. You can define this as being able to host a dedicated session and having a client connect. So now you can get started with your server.

The majority of dedicated server applications pick an Internet port that they (and only they) run. For example, Web servers almost always listen on port 80 for any Web requests. FTP servers use port 21. Only one application may listen ...

Get Managed DirectX® 9 Kick Start: Graphics and Game Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.