Open lygstate opened 9 years ago
Sorry for late reply.
There has been a discussion on making this independent of DOM, which would make it implementable in JS servers, web workers, etc: https://github.com/sysapps/tcp-udp-sockets/issues/62. I don't see any problems exposing the API to a web worker except the general big issue on security. See the section on Security and Privacy and the Permission methods in the specification.
FYI: As the SysApps WG has been closed down we are in the process of moving the TCP and UDP Sockets API to a Community Group where interested parties could continue to develop this API.
At the current time, there is no specific works about if there is need to support for Raw Sockets in Web Worker.