Open Nashatyrev opened 1 week ago
You only need support for this option with getsockopt
, and not setsockopt
, is that correct?
Supporting getsockopt
is easy since we can just return 0 (since shadow doesn't emulate broadcast sockets). But supporting setsockopt
might be more difficult since then we'd actually need to support the feature.
Describe the issue
The followup issue for #3435
Java Netty library (widely adopted jvm network lib) asks for this socket option prior to binding a UDP port. No workarounds on a client code side were found for this.
The stub from #3434 draft PR worked for me, however it doesn't look like a legit solution
To Reproduce Please check the #3435 reproduce section
Operating System (please complete the following information): Please check the #3435
Shadow (please complete the following information): Please check the #3435