It is all much better explained here why blocking is better:

Maybe you should not believe everything you read on a web page...
Maybe you should use one of those libraries...


So I am wondering why ICS prefers events when the code is
so much simpler without them?

That's simply wrong.

Event driven code is easier for a lot of things, except for simple demos.
Non-blocking, event driven programming offer a much better scalability. It has a learning curve which is much horizontal: you begin with something more complex than simplistic blocking programming model, but you stay almost at the same level of complexity even for larger applications while blocking mode quickly becomes a nightmare.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to