fix: random limit
This commit is contained in:
@@ -60,7 +60,7 @@ void ServerConnexion::checkKeepAlive(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ServerConnexion::sendKeepAlive(){
|
void ServerConnexion::sendKeepAlive(){
|
||||||
m_KeepAlive.keepAliveID = utils::getRandomNumber(UINT64_MAX);
|
m_KeepAlive.keepAliveID = utils::getRandomNumber(RAND_MAX);
|
||||||
m_KeepAlive.recievedResponse = false;
|
m_KeepAlive.recievedResponse = false;
|
||||||
|
|
||||||
protocol::KeepAlivePacket keepAlivePacket(m_KeepAlive.keepAliveID);
|
protocol::KeepAlivePacket keepAlivePacket(m_KeepAlive.keepAliveID);
|
||||||
|
|||||||
Reference in New Issue
Block a user