SO_REUSEPORT is not supported in the chrome.udp.sockets API
Reported by
p...@pvh.ca,
Sep 5
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 Steps to reproduce the problem: Currently, it is not possible to write an application that participates in mDNS or behaves like mDNS as Chrome will only bind exclusively to UDP sockets. This manifests as an error when trying to bind a UDP socket to port 5353, since on most computers there will already be an mDNS client running which prevents Chrome from taking an exclusive lock on the port. Similarly, binding to 5353 will prevent other spec-conforming applications from running since they won't be able to listen on the port. What is the expected behavior? Chrome's UDP sockets API should have the ability to allowPortReuse() after creation and before binding, setting SO_REUSEPORT on POSIX systems and SO_REUSEADDR on Windows. What went wrong? . Did this work before? N/A Does this work in other browsers? N/A Chrome version: 68.0.3440.106 Channel: n/a OS Version: 10.0 Flash Version:
,
Sep 5
,
Sep 6
,
Sep 7
|
||||
►
Sign in to add a comment |
||||
Comment 1 by p...@pvh.ca
, Sep 5