Listening on same IPv4 and IPv6 port? #2305
-
I am using the http-server from the example and run it with Plattform is: Linux t14 6.2.0-25-generic #25-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 16 17:05:07 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
@jcorporation why should it, if you have specified the ipv6 listening address ? |
Beta Was this translation helpful? Give feedback.
-
Should I maintain my own patch or is there any chance that this behavior will change? A compile time option would be perfect for me. |
Beta Was this translation helpful? Give feedback.
-
What if we change : #if defined(IPV6_V6ONLY)
to #if MG_IPV6_V6ONLY
And define MG_IPV6_V6ONLY as 0 by default, would that work ? |
Beta Was this translation helpful? Give feedback.
@jcorporation
What if we change :
to
And define MG_IPV6_V6ONLY as 0 by default, would that work ?