关于网友提出的“ peer-to-peer sdk有人用过吗?”问题疑问,本网通过在网上对“ peer-to-peer sdk有人用过吗?”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:
问题: peer-to-peer sdk有人用过吗?
描述: 微软提供的peer-to-peer sdk下载之后怎么不能用啊?在.net 2005中有这个sdk吗?还有,微软提供的这个sdk跟其他的p2p技术比起来怎么样?
解决方案1: Peer to Peer SDK
At the beginning of this year I joined the Collaboration Technology group. Our group is charted with creating a platform for developing Peer to Peer applications and for creating experiences on top of that platform. Windows XP already contains the elements of a Peer to Peer Development platform. The Peer to Peer SDK contains samples and tools that can be used to develop peer to peer applications. The APIs are contained in the Advanced Networking Pack for Windows XP: http://msdn.microsoft.com/library/default.asp?url=/downloads/list/winxppeer.asp
If you have not yet done so and you are interested in Peer to Peer programming you should enable PNRP this is a very cool technology that allows you to register a name that can be discovered by applications running on other computers without using a server. The SDK contains a sample application GraphChat which is a simple chat application that uses PNRP.
To enable PNRP you will need a computer running Windows XP Service Pack 2. PNRP is currently not available for Windows 2003 server.
* Select Add / Remove programs
* Select Add / Remove Windows components
* Select Networking Services and click on details
* ensure that the Peer to peer check box is ticked and then select Okay followed by Next
* The Windows installer will do its thing then you should select Next followed by Finish
To check that everything went well run a netsh command shell by:
* Select Start followed by Run
* enter netsh followed by the return key
In the command shell that appears enter the command:
* netsh p2p pnrp cloud
followed by the command
* show list
You should see output similar to:
Scope Id Addr State Name
----- ----- ----- ---------------- -----
3 4 1 Virtual LinkLocal_{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
1 0 1 Virtual Global_
netsh p2p pnrp cloud>
Note: {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} will be a guid and will differ from machine to machine.
One LinkLocal_{} entry will appear for each network adapter you have installed and there may be a SiteLocal_ entry too.
The peer to peer extensions for netshell are excellent diagnostic tool. I expect you will be come very familiar with it over time.
posted on Wednesday, September 14, 2005 11:37 AM by Kevin Ranso
http://blogs.msdn.com/kevin_ransom/archive/2005/09/14/466331.aspx
以上介绍了“ peer-to-peer sdk有人用过吗?”的问题解答,希望对有需要的网友有所帮助。
本文网址链接:http://www.codes51.com/itwd/3096066.html