export TCP connection mode to pybullet

made TCP disconnection detection more reliable
This commit is contained in:
Erwin Coumans
2017-02-20 20:34:05 -08:00
parent 942015df9d
commit 28146e816f
4 changed files with 72 additions and 13 deletions

View File

@@ -413,6 +413,14 @@ public:
CSocketError GetSocketError(void) {
return m_socketErrno;
};
/*
CSocketError GetSocketError(void) {
CSocketError err = m_socketErrno;
m_socketErrno = SocketSuccess;
return err;
};
*/
/// Get the total time the of the last operation in milliseconds.
/// @return number of milliseconds of last operation.