Networking and Services Samples

The following table lists Windows Server 2008 samples that pertain to networking and related services, as well as samples new to this release of the Windows SDK. They are installed by default under the Samples folder in the following path:

\Program Files\Microsoft SDKs\Windows\v6.1\Samples

For build instructions and additional information about the samples, see the Readme.txt files and other documents in the sample folders.

Sample

Description

Location (under Samples)

EAPHost Method Sample

Implements Extensible Authentication Protocol (EAP) authentication methods for EAP-based supplicants.

NetDS\EAP\EAPHost

ActiveDir OtherWKO

Demonstrates WKGUID ADSI binding.

NetDs\ADSI\activedir\OtherWkO

Fax Accounts Sample

Maintains fax accounts on a fax server.

NetDS\Fax\FaxAccount

Cancel Fax Sample

Manages the cancellation process on a static outgoing queue.

NetDS\Fax\FaxJobOperations

Fax  Notifications Sample

Shows how to send fax server and user account notifications.

NetDS\Fax\FaxNotify

Fax Reassign Sample

Reassigns faxes to users.

NetDS\Fax\FaxReassign

Folders Enumeration Samples

Maintains fax account folders, such as Inbox, Outbox, and Sent Items.

NetDS\Fax\FoldersEnum

SendToFaxRecipient Sample

Attaches a document to a fax compose form for faxing.

NetDS\Fax\SendToFaxRecipient

fax server Configuration Sample

Configures a fax server, including creating fax accounts, cover pages, and branding.

NetDS\Fax\ServerConfig

Function Discovery Sample

Explores functions with Function Discovery queries and notifications.

NetDS\FunctionDiscovery

QOS2 Sample

Implements a simple traffic generator to prevent overloading the network path between the source and its destination.

NetDS\GQos\Qos2

Http.sys V2 Sample

Creates a server application using http.sys authentication.

NetDS\HTTP

Http.sys Authentication Sample

Implements http.sys authentication.

NetDS\HTTP\HttpAuth

Network  Access Protection Sample

Demonstrates a server application that listens for requests and sends responses using the Version 2 HTTP.SYS APIs.

NetDS\Http\HttpV2Sever

Network Access Protection Sample

Implements System Health Agent, Nap System Health Validator, and Nap Enforcement Client.

NetDS\NAP

Collaboration Sample

Demonstrates how to use the Peer to Peer Collaboration APIs.

NetDs\PeerToPeer\Collaboration

Firewall Sample

Demonstrates how to enable Firewall Exceptions for Peer-to-Peer applications that use Graphing or PNRP.

NetDs\PeerToPeer\Firewall

Graphing Sample

Creates, connects, and sends chat records to other nodes in a graph. Also views people on the same subnet, and invites them into the chat application.

NetDS\PeerToPeer\GraphChat

Grouping Sample

Creates, connects, and sends chat records to other nodes in a group.

NetDS\PeerToPeer\GroupChat

Email Naming Sample

Resolves e-mail names to IP endpoints. Requires that the sample provider be registered before the client is run. The only namespace supported in the sample is @sampleprovider.net.

NetDS\PeerToPeer\Naming

PNRP Sample

Registers and resolves PNRP names.

NetDS\PeerToPeer\PNRP

Remote Access Server Connection Information Sample

Implement Routing and Remote Access Administration (RRAS) functions.

NetDS\rras\GetConnectionInfo

RRAS Nap Administration DLL Sample

Builds and registers a DLL to implement RRAS functions, including logging user logons and disconnects.

NetDS\rras\RasNapAdmin

SyncHandler Sample

Demonstrates how to use Sync Center to create a basic sync handler.

NetDS\SyncCenter\SyncHandler

URL Parsing Sample

Creates and combines Uniform Resource Identifiers (URI).

NetDS\URI

Filtering Platform and NDF Helper Class Sample

Shows how to use the Windows Filtering Platform (WFP) and helper hlass functions for WFP diagnostic events.

NetDS\WFP\DiagEvents

Secure Socket Sample

Creates a Winsock TCP client and server using secure IPsec sockets.

NetDS\winsock\securesocket

Winsock  WSAPoll Sample

Shows how to use WSAPoll socket programming to avoid blocking in client server network operations.

NetDS\winsock\WSAPoll

Wireless Autoconfig API Sample

Implements profile management and connection.

NetDS\wlan\AutoConfig

See Also

Concepts

Beginning Samples

Communication Samples

Data Access Samples

Multimedia Samples

Security Samples

Systems Management Samples

Tablet Samples

Web Samples

Web Samples

Web Samples