connectiongraph.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <HTML>
  2. <HEAD>
  3. <TITLE>Connection Graph</TITLE>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></HEAD>
  5. <link href="RaknetManual.css" rel="stylesheet" type="text/css">
  6. <meta name="title" content="RakNet - Advanced multiplayer game networking API">
  7. </HEAD>
  8. <BODY BGCOLOR="#ffffff" LINK="#003399" vlink="#003399" alink="#003399" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0"">
  9. <span style="background-color: rgb(255, 255, 255);"><img src="RakNet_Icon_Final-copy.jpg" alt="Oculus VR, Inc." width="150" height="150"></span><BR>
  10. <BR>
  11. <table width="100%" border="0"><tr>
  12. <td bgcolor="#2c5d92">
  13. <span class="RakNetWhiteHeader">Connection Graph<img src="spacer.gif" width="8" height="1">Plugin Interface Implementation</span></td>
  14. </tr>
  15. </table>
  16. <TABLE BORDER="0" CELLPADDING="10" CELLSPACING="0" WIDTH="100%"><TR>
  17. <TD>
  18. <span class="RakNetBlueHeader">Connection Graph Implementation Overview</span><BR>
  19. <BR>
  20. The Connection Graph plugin maintains a graph of connections for the entire network, so every peer knows about every other peer. The graph of connections is updated as new systems connect or disconnect from the network.<br />
  21. You can optionally specify a password which you can use to allow certain systems to take part on the graph. <br />
  22. <br />
  23. Connection Graph doesn't connect to the other involved systems. It just keeps an aupdated graph of the entire network. If you want all systems
  24. connected to each other, see <A HREF="fullyconnectedmesh2.html">Fully Connected Mesh</A>.<BR>
  25. <BR>
  26. Returns the connection graph, stored as map of adjacency lists.
  27. <BR>
  28. DataStructures::WeightedGraph&lt;ConnectionGraph::SystemAddressAndGroupId, unsigned short, false&gt; *GetGraph(void);<BR>
  29. <BR>
  30. See the sample at <I>Samples\ConnectioGraph</I><BR></TD>
  31. </TR></TABLE>
  32. <table width="100%" border="0"><tr><td bgcolor="#2c5d92" class="RakNetWhiteHeader">
  33. <img src="spacer.gif" width="8" height="1">See Also</td>
  34. </tr></table>
  35. <TABLE BORDER="0" CELLPADDING="10" CELLSPACING="0" WIDTH="100%"><TR><TD>
  36. <A HREF="index.html">Index</A><BR>
  37. <A HREF="plugininterface.html">PluginInterface</A><br />
  38. <A HREF="fullyconnectedmesh.html">Full Connected Mesh</A> <BR>
  39. <A HREF="replicamanager.html">Replica Manager</A><BR>
  40. </TD></TR></TABLE>
  41. </BODY>
  42. </HTML>
粤ICP备19079148号