Re: std.socket tutorials? examples?

2023-04-29 Thread Jan Allersma via Digitalmars-d-learn
On Thursday, 4 October 2018 at 13:07:30 UTC, bauss wrote: Not exactly a tutorial or a walkthrough, but I'll try to explain basic usage of std.socket using an asynchronous tcp server as example. So I tried to code the example as described. After the program is at ```d auto clientResult = Soc

Re: std.socket tutorials? examples?

2023-04-29 Thread Adam D Ruppe via Digitalmars-d-learn
On Saturday, 29 April 2023 at 10:56:46 UTC, Jan Allersma wrote: auto clientResult = Socket.select(clientSet, null, null); There's probably nothing in clientSet, so it is waiting for nothing you almost always want to have just one call to select in the program, not two, the whole point is

Autoformatter for SDLang

2023-04-29 Thread Per Nordlöw via Digitalmars-d-learn
Does anybody know of an autoformatted of SDLang, specifically for dub.sdl?

hunt-examples/website-basic

2023-04-29 Thread Vino B via Digitalmars-d-learn
Hi All, Request your help, while trying to compile the hunt-examples/website-basic, I am facing with the below error(https://github.com/huntlabs/hunt-examples/tree/master/website-basic). Error ``` C:\Users\test\AppData\Local\dub\packages\hunt-validation-0.5.0\hunt-validation\source\hunt\val