We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35a5504 commit 3aad4daCopy full SHA for 3aad4da
source/nanoFramework.System.Net/Sockets/Socket.cs
@@ -393,6 +393,10 @@ public Socket Accept()
393
394
Socket socket = new Socket(socketHandle);
395
396
+ // creating a socket from Accept() is only possible for Stream sockets
397
+ // have to set the type here
398
+ socket._socketType = SocketType.Stream;
399
+
400
socket.m_localEndPoint = this.m_localEndPoint;
401
402
return socket;
0 commit comments