Blocking and Non-Blocking Sockets

Previous topic - Next topic

Moebius

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.
Endless Loop: n., see Loop, Endless.
Loop, Endless: n., see Endless Loop.
- Random Shack Data Processing Dictionary

Kitty Hello

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.

Moebius

Endless Loop: n., see Loop, Endless.
Loop, Endless: n., see Endless Loop.
- Random Shack Data Processing Dictionary