GLBasic forum

Main forum => GLBasic - en => Topic started by: Moebius on 2010-Sep-28

Title: Blocking and Non-Blocking Sockets
Post by: Moebius on 2010-Sep-28
Since upgrading to GLBasic V8, I've noticed that my SOCK_RECV commands hang when there is nothing to receive.  Looking into the logfile, I noted that in the 8.002 BETA release it says:
"Network: switched to blocking sockets internally. Faster on most platforms."  I've also seen another post regarding the change in bug reports.

After reading up on the difference between blocking and non-blocking sockets, my question is this:  is it possible to use non-blocking sockets in GLBasic?  I wouldn't mind using a bit of C++ to do so, but a lot of multiplayer stuff could be crippled without them.
Title: Re: Blocking and Non-Blocking Sockets
Post by: Kitty Hello on 2010-Sep-28
It's a bug. I fixed it, but did not bring an update, yet. I'm sorry that I'm so busy these days. I hope I can fix it soon. Currently I'm a bit stuck on the Pandora OpenGL port.
Title: Re: Blocking and Non-Blocking Sockets
Post by: Moebius on 2010-Sep-29
Okay, thanks  :)