I must say I was encouraged to post my project here when I saw the positive response to this post: http://news.ycombinator.com/item?id=3780731<p>Before you make any comments, please keep in mind that the project is written for fun. I'm not forcing anyone to use it. In fact, nobody should use the current unstable version in a serious project.<p>Here is the link: http://github.com/bsg/libserv<p>Please share your thoughts. All criticisms are welcome, even the harsh ones.<p>p.s. The project is still a work-in-progress.
Note for those who do not know, Tcl already provides the ability to do cross platform non-blocking TCP servers.<p>Look at the Tcl "socket" command.<p>Very basic file server in 8 lines: <a href="http://wiki.tcl.tk/23621" rel="nofollow">http://wiki.tcl.tk/23621</a><p>Simple HTTP server in a page of code: <a href="http://wiki.tcl.tk/4333" rel="nofollow">http://wiki.tcl.tk/4333</a>
Wow - I will use this so much. Thanks for writing this. I suspect you won't get as many responses to this as it's C, not Node.JS or Ruby, but I will find this very useful.