Changeset 5649 in orxonox.OLD for branches/network/src/subprojects/network/network_unit_test.cc
- Timestamp:
- Nov 20, 2005, 2:48:33 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/subprojects/network/network_unit_test.cc
r5647 r5649 8 8 #include "network_manager.h" 9 9 #include "network_socket.h" 10 #include "network_stream.h" 10 11 #include "synchronizeable.h" 11 12 … … 124 125 Synchronizeable sync; 125 126 127 126 128 /* create the network manager */ 127 129 NetworkManager* nm = new NetworkManager(); … … 130 132 nm->initialize(); 131 133 134 /* create a server stream */ 135 nm->createServer(sync, 9999); 136 132 137 /* esatblish a connection */ 133 138 nm->establishConnection(ip, sync); 139 140 /* synchronize the data 1 time (increment for longer tests) */ 141 for( int i = 0; i < 1; i++) { 142 nm->synchronize(); 143 } 134 144 135 145 /* delete the network manager again */
Note: See TracChangeset
for help on using the changeset viewer.