Changeset 5605 in orxonox.OLD for branches/network
- Timestamp:
- Nov 16, 2005, 3:24:07 PM (19 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/netdefs.h
r5588 r5605 11 11 12 12 13 13 14 #ifdef HAVE_SDL_NET_H 14 #include <SDL_net.h>15 #include <SDL_net.h> 15 16 #else 16 #include <SDL/SDL_net.h>17 #include <SDL/SDL_net.h> 17 18 #endif 19 18 20 19 21 typedef unsigned char byte; -
branches/network/src/lib/network/network_manager.cc
r5578 r5605 24 24 #include "list.h" 25 25 #include "class_list.h" 26 27 #include "debug.h" 26 28 27 29 … … 68 70 69 71 72 70 73 /** 71 74 * standard constructor … … 79 82 this->netStreamList = NULL; 80 83 this->syncList = NULL; 84 85 PRINTF(0)("NetworkManager created\n"); 81 86 } 82 87 … … 96 101 /* get the synchronizeable list from the class list */ 97 102 this->netStreamList = ClassList::getList(CL_SYNCHRONIZEABLE); 103 PRINTF(0)("NetworkManager initzalized\n"); 98 104 } 99 105 … … 115 121 NetworkStream& NetworkManager::establishConnection(/* address, port, object reference*/) 116 122 { 123 PRINTF(0)("Creating network socket\n"); 117 124 /* creating a new network stream, it will register itself automaticaly to the class list */ 118 125 NetworkStream* netStream = new NetworkStream(); … … 124 131 */ 125 132 void NetworkManager::shutdownConnection() 126 {} 133 { 134 PRINTF(0)("Shutdown connection\n"); 135 } 127 136 128 137 … … 133 142 void NetworkManager::synchronize() 134 143 { 144 PRINTF(0)("NetworkManager synchronizes\n"); 135 145 if (this->netStreamList != NULL || (this->netStreamList = ClassList::getList(CL_NETWORK_STREAM)) != NULL) 136 146 { -
branches/network/src/lib/network/network_socket.cc
r5592 r5605 13 13 co-programmer: 14 14 */ 15 15 16 16 17
Note: See TracChangeset
for help on using the changeset viewer.