Improved consistency of comment formatting.

This commit is contained in:
Jason Watkins
2015-05-11 15:17:04 -07:00
parent a406b82f44
commit c0efe91b60
13 changed files with 142 additions and 142 deletions

View File

@@ -31,7 +31,7 @@
# include <OpenGL/gl.h> # include <OpenGL/gl.h>
#else #else
# include <GL/gl.h> # include <GL/gl.h>
#endif/*__APPLE__*/ #endif
namespace XPC namespace XPC
{ {

View File

@@ -68,8 +68,8 @@ namespace XPC
} }
#else #else
struct timeval tv; struct timeval tv;
tv.tv_sec = 0; /* Sec Timeout */ tv.tv_sec = 0;
tv.tv_usec = usTimeOut; // Microsec Timeout tv.tv_usec = usTimeOut;
setsockopt(this->sock, SOL_SOCKET, SO_RCVTIMEO, (char *)&tv, sizeof(struct timeval)); setsockopt(this->sock, SOL_SOCKET, SO_RCVTIMEO, (char *)&tv, sizeof(struct timeval));
#endif #endif
} }
@@ -103,8 +103,8 @@ namespace XPC
FD_SET(sock, &stReadFDS); FD_SET(sock, &stReadFDS);
FD_ZERO(&stExceptFDS); FD_ZERO(&stExceptFDS);
FD_SET(sock, &stExceptFDS); FD_SET(sock, &stExceptFDS);
tv.tv_sec = 0; /* Sec Timeout */ tv.tv_sec = 0;
tv.tv_usec = 250; // Microsec Timeout tv.tv_usec = 250;
// Select Command // Select Command
int result = select(-1, &stReadFDS, (FD_SET *)0, &stExceptFDS, &tv); int result = select(-1, &stReadFDS, (FD_SET *)0, &stExceptFDS, &tv);