-
Notifications
You must be signed in to change notification settings - Fork 829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with Adding Multicast Membership Sock Opt in python3 #1678
Comments
@jackchammons Any update on this? |
Thanks @ZacBlanco for the report and apologize for the slow response. I can confirm that currently WSL does not support the |
No problem! Glad to hear it's on the list. |
Just an update that both * *IP(V6)_ADD_MEMBERSHIP - The code does not support a non-zero value for the |
Great! Thank you! Hopefully I'll pick it up from windows update soon. I will report back if any issues persist. |
@sunilmut, will the inbound fix also address issues with the socket option IP_MULTICAST_IF? I've an app using multicast that fails with the following snippet from strace: 218 6550 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 If the inbound fix does not address this, should I create a new issue? |
Awesome, @sunilmut! Thanks for the prompt reply. |
This should be fixed in Insider build 16176. |
@sunilmut I just received build 16176. I tried running the code in the original comment. Fortunately it advances past the third-to-last line (which is where it errored before) However this time I'm getting another
Should I open another issue for this? |
@ZacBlanco Thanks for validating. Looks like you are running into #1419. Feel free to pile on there with you request. Unfortunately, Windows does not natively implement the |
Please use the following bug reporting template to help produce actionable and reproducible issues. Please try to ensure that the reproduction is minimal so that the team can go through more bugs!
Python code
Attempt to create a socket for multicast receiving with python3 on bash on windows. When executing with python for windows installed on normal
cmd.exe
the script runs with no errors, socket seems to be created just fine.However when attempting to set the sockopt for IP_ADD_MEMBERSHIP, the sockopt fails with invalid argument error.
Script should finish and socket options should all be able to be set
Output from cmd.exe
Output from bash.exe
15025
Copy the python code above to a python file. Attempt to run with cmd.exe and bash.exe
python 3.5.2 (Haven't attempted other versions)
See our contributing instructions for assistance.
The text was updated successfully, but these errors were encountered: