Browse Source

removed useless window bind for UDP constructor

oscar 1 month ago
parent
commit
500924a895
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dSockets.js

+ 1 - 1
dSockets.js

@@ -2,6 +2,6 @@ export async function autoConfSockets() {
   return {
     tcpSocket: TCPSocket,
     tcpServer: TCPServerSocket,
-    udpSocket: UDPSocket.bind(window),
+    udpSocket: UDPSocket,
   };
 }