Changeset 7854 in orxonox.OLD for branches/network/src/lib
- Timestamp:
- May 25, 2006, 2:29:58 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/udp_server_socket.cc
r7613 r7854 251 251 if ( userId >= userList.size() ) 252 252 { 253 254 // first packet of client has size 0. else it is an old one or the first packet was lost 255 assert( packet->len == 0 ); 256 253 257 newConn++; 254 258 isNewConnection = true; … … 271 275 272 276 //add new packet to packetbuffer 277 273 278 NetworkPacket networkPacket; 274 279 networkPacket.length = packet->len; … … 287 292 memcpy( networkPacket.data, packet->data, packet->len ); 288 293 packetBuffer[userId].push_back( networkPacket ); 294 289 295 } 290 296
Note: See TracChangeset
for help on using the changeset viewer.