mirror of
https://gitee.com/ldcsaa/HP-Socket.git
synced 2024-11-29 18:28:14 +08:00
20240129
This commit is contained in:
parent
6e50ad5381
commit
a172319dfe
@ -61,7 +61,7 @@ void CUdpServer::SetLastError(EnSocketError code, LPCSTR func, int ec)
|
||||
BOOL CUdpServer::CheckParams()
|
||||
{
|
||||
if ((m_enSendPolicy >= SP_PACK && m_enSendPolicy <= SP_DIRECT) &&
|
||||
(m_enOnSendSyncPolicy >= OSSP_NONE && m_enOnSendSyncPolicy <= OSSP_CLOSE) &&
|
||||
(m_enOnSendSyncPolicy >= OSSP_NONE && m_enOnSendSyncPolicy <= OSSP_RECEIVE) &&
|
||||
((int)m_dwMaxConnectionCount > 0 && m_dwMaxConnectionCount <= MAX_CONNECTION_COUNT) &&
|
||||
((int)m_dwWorkerThreadCount > 0 && m_dwWorkerThreadCount <= MAX_WORKER_THREAD_COUNT) &&
|
||||
((int)m_dwFreeSocketObjLockTime >= 1000) &&
|
||||
|
Loading…
Reference in New Issue
Block a user