Simplified socket creation and handling

Jarl André" <jarl.andre at gmail.com> Jarl André" <jarl.andre at gmail.com>
Sun May 27 03:40:32 PDT 2012


>> Sorry for the typo: I do NOT understand it completely.
>
> Thanks for the feedback! Well, for me I am a Java enterprise 
> developer working with Java on Unix, but, I have worked with 
> .NET in the past giving me a tiny portion of mercy to those 
> that enjoys Visual Studio :) Its actually a blazing fast IDE. 
> Enough digression.
>
> The last days I have completely rewritten the library, and have 
> also added a build script (you can just rename it from 
> "simpleserver.sh" to "simpleserver.bat" and it will work. 
> However, there are two things about this library that I am 
> currently working on:
>
> 1. Windows support is lacking because I use a thread pool with 
> imports for posix (unix systems) and I'm not extremely good at 
> D yet.
>
> 2. For some reason I left an implementation of 
> AbstractClientCommandHamdler in the quickserver library but it 
> was intentional that this should reside in the simpleserver.d 
> file, completely closing the library and making it possible to 
> create a server without modifying the library at all.
>
> 3. I am wondering if I should export the threadpool into its 
> own library so not to clutter up the quickserver.d file with 
> Windows/Posix compability code. At the moment the server itslf 
> is system independent.
>
> So the answer is: yes I'll try to look at windows support, but 
> if someone wants to help me I'll gladly say yes.

I completed todo 2 and 3. Now lets hope someone wants to 
contribute cross compability code on todo 1. It should be fairly 
easy since the threadpool now resides in its own module file.


More information about the Digitalmars-d-learn mailing list