fix a few issues in UDP networking

This commit is contained in:
Erwin Coumans
2016-11-04 17:44:16 -07:00
parent 5d66ce20e0
commit cf21da4c9d
2 changed files with 2 additions and 2 deletions

View File

@@ -2195,7 +2195,7 @@ bool PhysicsServerCommandProcessor::processCommand(const struct SharedMemoryComm
bufferServerToClient[i] = memDna[i];
}
serverCmd.m_type = CMD_REQUEST_INTERNAL_DATA_COMPLETED;
serverCmd.m_numDataStreamBytes = bufferSizeInBytes;
serverCmd.m_numDataStreamBytes = sz;
}
break;

View File

@@ -24,7 +24,7 @@
typedef unsigned long long int smUint64_t;
#endif
#define SHARED_MEMORY_MAX_STREAM_CHUNK_SIZE (256*1024)
#define SHARED_MEMORY_MAX_STREAM_CHUNK_SIZE (512*1024)
#define SHARED_MEMORY_SERVER_TEST_C
#define MAX_DEGREE_OF_FREEDOM 128