shmem preliminary TCP implementation (not working yet)

This commit is contained in:
Erwin Coumans
2017-02-20 16:46:25 -08:00
parent bfcdb8c408
commit 3d73a9d788
7 changed files with 677 additions and 0 deletions

View File

@@ -8,6 +8,10 @@
#include "SharedMemory/PhysicsClientUDP_C_API.h"
#endif//PHYSICS_UDP
#ifdef PHYSICS_TCP
#include "SharedMemory/PhysicsClientTCP_C_API.h"
#endif//PHYSICS_TCP
#ifdef PHYSICS_LOOP_BACK
#include "SharedMemory/PhysicsLoopBackC_API.h"
#endif //PHYSICS_LOOP_BACK
@@ -345,6 +349,10 @@ int main(int argc, char* argv[])
b3PhysicsClientHandle sm = b3ConnectPhysicsUDP("localhost",1234);
#endif //PHYSICS_UDP
#ifdef PHYSICS_TCP
b3PhysicsClientHandle sm = b3ConnectPhysicsTCP("localhost",6667);
#endif //PHYSICS_UDP
testSharedMemory(sm);
}
#endif