Changeset 5609 in orxonox.OLD for branches/network/src
- Timestamp:
- Nov 16, 2005, 4:23:17 PM (19 years ago)
- Location:
- branches/network/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_manager.cc
r5605 r5609 121 121 NetworkStream& NetworkManager::establishConnection(/* address, port, object reference*/) 122 122 { 123 PRINTF(0)(" Creating network socket\n");123 PRINTF(0)("Establish connection...\n"); 124 124 /* creating a new network stream, it will register itself automaticaly to the class list */ 125 125 NetworkStream* netStream = new NetworkStream(); -
branches/network/src/subprojects/network/network_unit_test.cc
r5580 r5609 4 4 #include <stdio.h> 5 5 #include "shell_buffer.h" 6 6 #include "class_list.h" 7 7 8 8 #include "network_manager.h" … … 12 12 13 13 int startHelp(int argc, char** argv) 14 {} 14 { 15 printf("Network is a network unit test\n"); 16 printf(" --help: this output\n"); 17 printf("\n"); 18 } 15 19 16 20 /** … … 30 34 } 31 35 32 new NetworkManager(); 36 /* create the network manager */ 37 NetworkManager* nm = new NetworkManager(); 38 39 /* esatblish a connection */ 40 nm->establishConnection(); 41 42 //ClassList::debug(3, 0); 33 43 34 44 return 0;
Note: See TracChangeset
for help on using the changeset viewer.