Skip to content
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

Socket configuration not supported in Xamarin on Android #86

Open
SittenSpynne opened this issue Jan 12, 2021 · 0 comments
Open

Socket configuration not supported in Xamarin on Android #86

SittenSpynne opened this issue Jan 12, 2021 · 0 comments

Comments

@SittenSpynne
Copy link

I'm interested in writing a mobile application that communicates with some devices using this library. I'm doing some quick hacking to get a feel for it and ran into an error right away. Upon attempting to send a request on an Android device, I get a SocketException with message "Protocol option not supported."

This seems to originate in UDPChannel.cs in SetupUDPSocket(). The socket option "Packet Information" is set, but it seems Xamarin is reporting this isn't supported. If I clone the code and comment this line out, everything seems to work, but I don't understand what this option does so I don't have a good way to know what I should be testing to see if it matters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant