Firewall Sample
Description
This sample demonstrates the recommended usage of the Firewall API introduced in Windows XP SP2 for multiplayer games.
|
Path
Source: |
DX90SDK\Samples\C++\Misc\Firewall |
Executable: |
DX90SDK\Samples\C++\Misc\Bin |
Sample Overview
This sample demonstrates the recommend usage of the Firewall API for multiplayer games.
The recommend actions that this sample shows are:
- During installation, it adds the game executable to the firewall exception list
- When launching, it checks that the firewall exception list is properly configured for the game to run multiplayer and verifies that the firewall is properly configured for the game
- During uninstall, it removes the game executable from the firewall exception list.
Note that this sample requires the latest Microsoft Platform SDK to compile because it uses the Firewall API introduced with Windows XP Service Pack 2.
For more details see the Games and Firewalls programming guide.
Copyright (c) Microsoft Corporation. All rights reserved.
|