3 ms·
So if your client has one thread for networking why use non-blocking? The age is relative, sockets are from the 70s, non-blocking is 2000+ and in most language
by bullen 5y ago
So if your client has one thread for networking why use non-blocking?
The age is relative, sockets are from the 70s, non-blocking is 2000+ and in most languages it's only stable since 2010+.
- nikanj 5y agoOverlapped (=async) IO has been in Windows since NT came out, so mid-90s. I don't even know what you mean with "most languages". Most programming languages are only stable since 2010+ anyway, we get more languages every year.
- Jensson 5y ago> 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.