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
x/sys/windows: missing SOCKADDR_BTH #52958
Comments
CC @golang/runtime @alexbrainman |
From https://docs.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2
I suspect there is a bug in your program. But I never used Bluetooth API on Windows. So I don't know what your problem is. Alex |
I was found it, but I do not know how i can fix it, because it should be available in pure GO ... |
I don't know how to fix it too. Alex |
Primary I do not want create own sockaddrBt ..., but I do not to see how and what I should use ... . |
I think that is solved by #53929 |
I m not expert and I don t know, whether this belong to Proposals or Bugs, so sorry...
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I wanted create bluetooth socket on windows and I found that, there is no SockaddrBth similar (eqivalent) to SOCKADDR_BTH:
So I was trying to add own struct to vendor according above mention SOCKADDR_BTH
and run
What did you expect to see?
no error
What did you see instead?
golang.org/x/sys/windows.WSAEFAULT (10014)
The text was updated successfully, but these errors were encountered: