KingOfHeart Posted October 20, 2010 Share Posted October 20, 2010 I'm using a program to connect to a website. This program has one bug in it, if it receives data more then 500 bytes it crashes. So on my website I've been using "usleep(100000);" which helps break up the data. Is there any other functions that can split up sending data without any type of delay? Also would a really highspeed internet put the data together with that current usleep, because with my speed it splits it up just fine. Quote Link to comment https://forums.phpfreaks.com/topic/216401-any-other-way-then-usleep/ Share on other sites More sharing options...
phpfreak Posted October 20, 2010 Share Posted October 20, 2010 Hmm, that is an interesting one... sounds like the bug in the program should be fixed before you go crazy trying to find a work around. Quote Link to comment https://forums.phpfreaks.com/topic/216401-any-other-way-then-usleep/#findComment-1124588 Share on other sites More sharing options...
KingOfHeart Posted October 20, 2010 Author Share Posted October 20, 2010 The bugs not going to be fixed until there's a new version... Anyways let's go crazy Quote Link to comment https://forums.phpfreaks.com/topic/216401-any-other-way-then-usleep/#findComment-1124644 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.