Replies: 1 comment
-
Thanks, this might also help with issue #452 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
To solve problems related to creating sockets for Bluetooth in NET Core, you can use the constructor
System.Net.Sockets.Socket
that accepts an instance of the SafeSocketHandle class:public Socket(SafeSocketHandle handle);
The Handle is created using the native method, and all other work is successfully performed by NET Core sockets.
Here is an example of a modified Linux Socket class for Linux (similar to Win32):
Beta Was this translation helpful? Give feedback.
All reactions