New games every week!
Unblocking my Sockets
Blog
5th March 2018
According to what I've read online, I need to convert the socket to a non-blocking socket, then try to connect, and THEN (after trying to connect?!) tell it to set the timeout to a low number.
-=-=- I *think* that's now working on the Windows edition. Everything I can test seems to be suggesting that it'll stand the test of time. If the server clogs up for whatever reason, you'll be waiting no more than 3 seconds for it to fail to connect. I've also added a handful of "If not connected, don't try again for a while" settings in there, too. The Linux and Mac editions, however, aren't connecting at all with the Non-Blocking code, so today I'm going to have to spend a few hours figuring all of that out. Hopefully it won't take too long to fix. Next Release : Hopefully later today! Views 86, Upvotes 15
Daily Blog
,
2018 Framework
New games every week!
|