Thread overview
I wrote a little socket tutorial
Nov 12, 2019
Adam D. Ruppe
Nov 13, 2019
Soulsbane
Nov 13, 2019
SrMordred
Nov 15, 2019
bauss
Nov 15, 2019
JN
Nov 15, 2019
Adam D. Ruppe
Nov 15, 2019
JN
Nov 15, 2019
Adam D. Ruppe
Nov 16, 2019
Ferhat Kurtulmuş
November 12, 2019
A lot of people ask me how to use sockets in Phobos, so I wrote it up with a few samples. Not every detail you could ever need, but I tried to be reasonably comprehensive for new users.

http://dpldocs.info/this-week-in-d/Blog.Posted_2019_11_11.html
November 13, 2019
On Tuesday, 12 November 2019 at 18:03:44 UTC, Adam D. Ruppe wrote:
> A lot of people ask me how to use sockets in Phobos, so I wrote it up with a few samples. Not every detail you could ever need, but I tried to be reasonably comprehensive for new users.
>
> http://dpldocs.info/this-week-in-d/Blog.Posted_2019_11_11.html

Thanks Adam it's just what I  was looking for!
November 13, 2019
On Tuesday, 12 November 2019 at 18:03:44 UTC, Adam D. Ruppe wrote:
> A lot of people ask me how to use sockets in Phobos, so I wrote it up with a few samples. Not every detail you could ever need, but I tried to be reasonably comprehensive for new users.
>
> http://dpldocs.info/this-week-in-d/Blog.Posted_2019_11_11.html

Thank you!

I would like to ask you and other writers of tutorials,
to place them in the D wiki. [1]

I have put it already under the General section, maybe you would like to move it elsewhere.

Or directly in the Articles section? [2]

Recently many new tutorials were published and they should be more visible then just
in the Announce Forum.

[1] https://wiki.dlang.org/Articles
[2] https://dlang.org/articles/index.html
November 13, 2019
On Tuesday, 12 November 2019 at 18:03:44 UTC, Adam D. Ruppe wrote:
> A lot of people ask me how to use sockets in Phobos, so I wrote it up with a few samples. Not every detail you could ever need, but I tried to be reasonably comprehensive for new users.
>
> http://dpldocs.info/this-week-in-d/Blog.Posted_2019_11_11.html

Thanks u very much!
I remember being one of the things that I felt missing when first started with D!
November 15, 2019
On Tuesday, 12 November 2019 at 18:03:44 UTC, Adam D. Ruppe wrote:
> A lot of people ask me how to use sockets in Phobos, so I wrote it up with a few samples. Not every detail you could ever need, but I tried to be reasonably comprehensive for new users.
>
> http://dpldocs.info/this-week-in-d/Blog.Posted_2019_11_11.html

Back when I first started D I wish this existed because there was virtually nothing regarding sockets back then.

It would have helped me a lot in terms of using it.

Great tutorial, 10/10.
November 15, 2019
On Friday, 15 November 2019 at 18:41:02 UTC, bauss wrote:
> On Tuesday, 12 November 2019 at 18:03:44 UTC, Adam D. Ruppe wrote:
>> A lot of people ask me how to use sockets in Phobos, so I wrote it up with a few samples. Not every detail you could ever need, but I tried to be reasonably comprehensive for new users.
>>
>> http://dpldocs.info/this-week-in-d/Blog.Posted_2019_11_11.html
>
> Back when I first started D I wish this existed because there was virtually nothing regarding sockets back then.
>
> It would have helped me a lot in terms of using it.
>
> Great tutorial, 10/10.

I used this to get started back in the day: http://arsdnet.net/dcode/book/chapter_02/03/

November 15, 2019
On Friday, 15 November 2019 at 19:40:51 UTC, JN wrote:
> I used this to get started back in the day: http://arsdnet.net/dcode/book/chapter_02/03/

yeah, that's one of the samples from my "D Cookbook" and I wrote this new thing primarily to expand upon the text there from the book (which was minimal).
November 15, 2019
On Friday, 15 November 2019 at 20:01:01 UTC, Adam D. Ruppe wrote:
> On Friday, 15 November 2019 at 19:40:51 UTC, JN wrote:
>> I used this to get started back in the day: http://arsdnet.net/dcode/book/chapter_02/03/
>
> yeah, that's one of the samples from my "D Cookbook" and I wrote this new thing primarily to expand upon the text there from the book (which was minimal).

Such code snippets are amazing for starting out. Too many libraries just throw the API documentation at you and figure out how to set up things. Especially in non-OOP languages, with OOP the dependencies kinda flow much better (oh, for this I need object of this class, so I make this, oh and now I need this object).
November 15, 2019
On Friday, 15 November 2019 at 21:07:45 UTC, JN wrote:
> Such code snippets are amazing for starting out. Too many libraries just throw the API documentation at you and figure out how to set up things.

Aye. That's why my doc gen actually has hidden secret features to make *complete* examples inside D's documented unittest thing.

I've written a bunch of basic games with my other libs, a big one I always point newbies to is the pong sample:

http://dpldocs.info/experimental-docs/arsd.simpledisplay.html#pong

and my view is it is more fun to copy/paste something that actually works, then modify it to make it your own.

(the blog btw is built with my doc gen too, and the socket samples are all D unittests using my special features so I can compile and run it as well, my way of making sure my stuff actually compiled lol)
November 16, 2019
On Tuesday, 12 November 2019 at 18:03:44 UTC, Adam D. Ruppe wrote:
> A lot of people ask me how to use sockets in Phobos, so I wrote it up with a few samples. Not every detail you could ever need, but I tried to be reasonably comprehensive for new users.
>
> http://dpldocs.info/this-week-in-d/Blog.Posted_2019_11_11.html

Very nice tutorial. Absolutely it is worth it to bookmark.