userver icon indicating copy to clipboard operation
userver copied to clipboard

Is there a UDP multicast socket implementation?

Open asmfreak opened this issue 2 years ago • 2 comments

I wanted to use userver for a service, requiring UDP multicast messages.

There is a Socket class for low-level communication.

But as far as I can see, there is no methods to join/leave a multicast UDP group. Are such methods planned to be implemented? Maybe they are already implemented, but in a different module?


Internal ticket: EDUPRJ-278

asmfreak avatar Jan 26 '23 20:01 asmfreak

Unfortunately, we do not have that functionality yet.

We'd appreciate a PR or if there's a lot of interest in the feature we'll implement it later

apolukhin avatar Feb 04 '23 09:02 apolukhin

I guess the only thing missing is the ability to pass an ip_mreq into SetOption, all other capabilities (Bind, RecvSomeFrom) seem to be there.

nUl1 avatar Mar 21 '23 08:03 nUl1