Re:Debugging memory corruption: who the hell writes “2” into...
by Jensson on Sunday November 14, 2021 @04:34PM
(#29220954)
> So if your client has one thread for networking why use non-blocking?
No, the client would have one thread for everything, not one thread for networking. You shouldn't do blocking IO if you only have one thread that also needs to do other things.
No, the client would have one thread for everything, not one thread for networking. You shouldn't do blocking IO if you only have one thread that also needs to do other things.