Have you seen the Windows SDK samples that demonstrate the use of the P2P Native APIs? The samples are installed by default to the C:\Program Files\Microsoft SDKs\Windows\V6.1\Samples\NetDs\PeerToPeer \Samples\NetDS\PeerToPeer folder (see a list below).
Read More...