ktor icon indicating copy to clipboard operation
ktor copied to clipboard

Ability to join a UDP socket to multicast group

Open psk7 opened this issue 5 years ago • 3 comments

Ktor Version

1.1.2

Ktor Engine Used(client or server and name)

ktor-network

JVM Version, Operating System and Relevant Context

openjdk 11.0.1, Windows, Linux

Feedback

We very lacks ability to join a UDP socket to multicast IPv6 group.

Please, consider adding this feature.

psk7 avatar Feb 01 '19 23:02 psk7

I've recently assigned a task to implement Alarm Notification System which is based on UDP Multi cast. I decided to implement it based on Kotlin MP. So please:

  1. Implement it a way that supports multi platform
  2. In Mac OS, java lib returns IP6 instead of IP4. So, I have to add -Djava.net.preferIPv4Stack=true into JVM Param. It would be awesome to set a setting for that, too.

Hesamedin avatar Mar 06 '19 17:03 Hesamedin

Include iOS/tvOS platform to the list would be great.

agent10 avatar May 20 '20 07:05 agent10

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

oleg-larshin avatar Aug 10 '20 15:08 oleg-larshin