Changeset 3718 for sample/pingpong
- Timestamp:
- May 27, 2009, 8:13:08 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sample/pingpong/PingPong.cpp
r3071 r3718 69 69 node->start(); 70 70 71 // when initiating, you can define the overlay type, default is Chord [CHORD_OVERLAY] 72 SpoVNetProperties params; 73 //params.setBaseOverlayType( SpoVNetProperties::ONE_HOP_OVERLAY ); // alternative: OneHop 74 71 75 // initiate or join the spovnet 72 76 if (!isInitiator) node->join(spovnetName); 73 else node->initiate(spovnetName );77 else node->initiate(spovnetName, params); 74 78 75 79 // ping pong started up...
Note:
See TracChangeset
for help on using the changeset viewer.