开始Raknet [cpp] StartupResult RakPeer::Startup( unsigned short maxConnections, SocketDescriptor * socketDescriptors,unsigned socketDescriptorCount, int threadPriority ); [/cpp] 第一件你应该做的事情是调用RakpeerInterface::StartUp()函数,Startup()函数将会: 1.生成RakNet Guid,一个RakpeerInterface的唯一实例,你可以通过下面函数得到这个Guid [cpp] RakNetGUID g = rakPeer->GetGuidFormSystemAddress(……

阅读全文