Improved consistency of comment formatting.
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user