|
Author
|
Message
|
|
Senior Member
|

06-16-2011
, 22:33
Re: Multi-Thread in sockets! Help please!
|
#1
|
Sockets_hz helps on listening, but it blocks the server too. I already tested it.
The function socket_unblock isn't working propely, and, besides, you read the code samples ? You must set an infinite loop task, from short time to short time, like 0.3 seconds, or 0.1 on the sample you gave. Isn't ok.
I use sockets to call a HLTV process, using a HLTV code sample finded here on the forums, i adapted the code to Sockets_HZ, but, because of the set task, sometimes i didn't received the challenge id from the HLTV, so Sockets_HZ isn't a solution, a Threaded Sockets Module IS the solution.
|
|
|
|