fix a few issues in UDP networking
This commit is contained in:
@@ -2195,7 +2195,7 @@ bool PhysicsServerCommandProcessor::processCommand(const struct SharedMemoryComm
|
|||||||
bufferServerToClient[i] = memDna[i];
|
bufferServerToClient[i] = memDna[i];
|
||||||
}
|
}
|
||||||
serverCmd.m_type = CMD_REQUEST_INTERNAL_DATA_COMPLETED;
|
serverCmd.m_type = CMD_REQUEST_INTERNAL_DATA_COMPLETED;
|
||||||
serverCmd.m_numDataStreamBytes = bufferSizeInBytes;
|
serverCmd.m_numDataStreamBytes = sz;
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
typedef unsigned long long int smUint64_t;
|
typedef unsigned long long int smUint64_t;
|
||||||
#endif
|
#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 SHARED_MEMORY_SERVER_TEST_C
|
||||||
#define MAX_DEGREE_OF_FREEDOM 128
|
#define MAX_DEGREE_OF_FREEDOM 128
|
||||||
|
|||||||
Reference in New Issue
Block a user