Changeset 6923 in orxonox.OLD for branches/network/src/lib
- Timestamp:
- Feb 1, 2006, 12:31:32 PM (19 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_socket.cc
r6695 r6923 172 172 173 173 if (!tcpSocket || data==NULL || nbytes<=0) 174 return 0; 174 { 175 assert(false); 176 return 0; 177 } 175 178 176 179 SDL_mutexP(outgoingBufferMutex); … … 417 420 if (incomingBufferLength<INTSIZE) 418 421 { 422 assert(false); 419 423 return 0; 420 424 } … … 426 430 { 427 431 PRINTF(1)("Buffersize is too small (%d) for packet (%d)\n", maxLength, blen); 432 assert(false); 428 433 return 0; 429 434 } -
branches/network/src/lib/network/network_socket.h
r6695 r6923 11 11 #define _USE_OUTGOING_BUFFER 12 12 13 #define _INCOMING_BUFFER_SIZE 1024013 #define _INCOMING_BUFFER_SIZE 2024000 14 14 #define _OUTGOING_BUFFER_SIZE 2024000 15 15 #define _LOCAL_BUFFER_SIZE 1024
Note: See TracChangeset
for help on using the changeset viewer.