Advice wanted on garbage collection of sockets for c++ programmer using D

Dsby via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 28 00:17:00 PDT 2017


On Tuesday, 27 June 2017 at 09:54:19 UTC, John Burton wrote:
> I'm coming from a C++ background so I'm not too used to garbage 
> collection and it's implications. I have a function that 
> creates a std.socket.Socket using new and connects to a tcp 
> server, and writes some stuff to it. I then explicitly close 
> the socket, and the socket object goes out of scope.
>
> [...]

May be you can see yu: https://github.com/dushibaiyu/yu


More information about the Digitalmars-d-learn mailing list