The SimpleClientServer sample is a simple client/server application.
(SDK Root)\Samples\Multimedia\DirectPlay\SimpleClientServer