Raised This Month: $ Target: $400
 0% 

Multi-Thread in sockets! Help please!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DjOptimuS
Senior Member
Join Date: Jan 2009
Old 06-17-2011 , 12:04   Re: Multi-Thread in sockets! Help please!
Reply With Quote #9

sometimes the sockets returns nothing just because the standard infinite loop is too fast, for example 0.1 or 0.2 set_task to listen the socket.

The Sockets_HZ ideea is good, but only if the socket you need to call is relatively close to your server, or maybe on the same server, but in this case, the standard socket will work, because everything is fast. But the problem appears when you need to call something via socket that have ping over 40-50 ms between them
DjOptimuS is offline
 



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