Vibe-d doesn't seem to work on Windows anymore

Imperatorn johan_forsberg_86 at hotmail.com
Sat Oct 21 13:46:25 UTC 2023


On Saturday, 21 October 2023 at 12:38:33 UTC, Ruby The Roobster 
wrote:
> On Saturday, 21 October 2023 at 07:53:15 UTC, Imperatorn wrote:
>> On Saturday, 21 October 2023 at 00:50:21 UTC, Ruby The 
>> Roobster wrote:
>>> [...]
>>
>> Post your code
> ```d
> import vibe.d;
>
> void main()
> {
> 	// router
> 	URLRouter router = new URLRouter();
> 	router.get("/", staticTemplate!"home.dt"); // compiles
> 	router.get("*", serveStaticFiles("/public"));
>
> 	auto settings = new HTTPServerSettings;
> 	settings.port = 8080;
> 	settings.bindAddresses = ["localhost", "::1", "127.0.0.1"];
> 	listenHTTP(settings, router);
>
> 	logInfo("Server up at 127.0.0.1:8080");
> }
> ```
>
> It just tells me that three sockets were leaked at 'driver 
> shutdown' and terminates.

https://github.com/reyvaleza/vibed/tree/main


More information about the Digitalmars-d mailing list