Quick fix- msTimeOut to usTimeOut

This commit is contained in:
Chris Teubert
2014-12-03 10:26:01 -08:00
parent 044b613e32
commit dcce37573f
4 changed files with 4 additions and 4 deletions

View File

@@ -166,7 +166,7 @@ struct xpcSocket openUDP(unsigned short port_number, const char *xpIP, unsigned
setsockopt(theSocket.sock, SOL_SOCKET, SO_RCVTIMEO, (char *)&msTimeOutWin, sizeof(msTimeOutWin));
#else
tv.tv_sec = 0; /* Sec Timeout */
tv.tv_usec = msTimeOut; // Microsec Timeout
tv.tv_usec = usTimeOut; // Microsec Timeout
setsockopt(theSocket.sock, SOL_SOCKET, SO_RCVTIMEO, (char *) &tv, sizeof(struct timeval));
#endif