Raised This Month: $ Target: $400
 0% 

Multi-Thread in sockets! Help please!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DjOptimuS
Senior Member
Join Date: Jan 2009
Old 06-16-2011 , 22:33   Re: Multi-Thread in sockets! Help please!
Reply With Quote #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.
DjOptimuS is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode