Easy sockets - don't exist yet?

Karabuta via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Oct 8 10:52:25 PDT 2016


On Monday, 26 September 2016 at 23:40:10 UTC, Vincent wrote:
> Hello, guys!
>
> I was very surprised that module 'socketstream' was deprecated. 
> Usually if something become obsolete, there is some perfect 
> replacement! But my digging in Inet and forums gave nothing, 
> but "outdated" examples with 'SocketStream' class. So first 
> question is WHAT Phobos has to replace SocketStream?
> To avoid unnecessary mail bouncing, I write upfront what I 
> expect from normal Socket implementation (kind of interface) :
>
> [...]

This is how a usable socket in a standard library should be 
http://dsfml.com/docs/sockets.html. This is using DSFML (a D 
bindings to SFML).


More information about the Digitalmars-d-learn mailing list