26.11.2016, 11:51
(
Последний раз редактировалось CoaPsyFactor; 26.11.2016 в 16:22.
Причина: Solved
)
Код:
Hello, I have this weird problem with Sockets plugin [https://sampforum.blast.hk/showthread.php?tid=333934] When I call socket_remote_client_connected on connected id my server crashes - every time. I checked with CrashDetect plugin it says that socket_remote_client_connected caused server to crash. If anyone has any help, please provide some :) Thanks in advance.
Код:
if(m_pSocketInfo[socketid].ssl) { if(recv(m_pSocketInfo[socketid].connected_clients[remote_clientid], tempbuf, sizeof(tempbuf), NULL) != 0) return 1; }
Код:
if(false == m_pSocketInfo[socketid].ssl) { if(recv(m_pSocketInfo[socketid].connected_clients[remote_clientid], tempbuf, sizeof(tempbuf), NULL) != 0) return 1; }