?? How to subscribe to Multicast Broadcasts ??

Sebastiaan Koppe mail at skoppe.eu
Sat Aug 18 22:25:50 UTC 2018


On Monday, 13 August 2018 at 01:12:16 UTC, Joe wrote:
> Please Please Please Help, I am desperate!
>
> Many Thanks in Advance for your time & attention,
> -joe

I implemented multicast support in vibe.d, I hope looking at the 
source can help you:

https://github.com/vibe-d/vibe.d/blob/master/core/vibe/core/drivers/libevent2.d#L1129

Also, shouldn't both sending and receiving ports be the same?

Where I use it I call addMembership and then canBroadcast on a 
vibed socket, and it has worked for me.

It wouldn't be difficult to port that back to std.socket.


More information about the Digitalmars-d-learn mailing list