Raised This Month: $ Target: $400
 0% 

Sockets, infinite looping


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Spunky
Senior Member
Join Date: May 2008
Location: Orlando, Fl.
Old 12-25-2009 , 11:52   Sockets, infinite looping
Reply With Quote #1

This isn't a problem, just an inquiry. I originally tried this:

PHP Code:
while (socket_change(g_hSocket1000000)) 
This created an infinite loop, so I'm using a for loop instead. But does anybody know why that would happen? It should only return true if new data is in the socket, right? :/
Spunky is offline
Send a message via AIM to Spunky
 



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 03:23.


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