Simplified socket creation and handling
Jarl André" <jarl.andre at gmail.com>
Jarl André" <jarl.andre at gmail.com>
Wed May 30 13:12:06 PDT 2012
On Wednesday, 30 May 2012 at 20:09:43 UTC, Jarl André wrote:
> On Monday, 21 May 2012 at 19:06:24 UTC, Nathan M. Swan wrote:
>> On Monday, 21 May 2012 at 17:54:56 UTC, Adam D. Ruppe wrote:
>>> On Saturday, 19 May 2012 at 20:33:49 UTC, Nathan M. Swan
>>> wrote:
>>>> It has some pitfalls (e.g. I can't find a good way to stop
>>>> the server)
>>>
>>> When I use it, I just leave it open in a terminal window.
>>> Control+C can then kill it. (I'm on linux but I think the
>>> same would apply on Windows.)
>>>
>>> That's the only way right now. I was trying to make break;
>>> work in that connect opApply thing, but it didn't work
>>> right so there is no quit ability inside the app right now.
>>
>> That's what I've done too, though it fails to call destructors.
>>
>> I tried manager.quit(), but it results in segfaults for some
>> reason (I think it has something to do with background
>> threads).
>
> Now I have removed the code that rendered the server
> incomatible with windows. Now documentation is the biggest todo
> on my list. Also notice I have added a bat script for running
> the simpleserver :)
I replied to the wrong author but anyway, if anyone wants to
contribute to this project just tell me. Cheers.
More information about the Digitalmars-d-learn
mailing list