Allows web apps to establish direct transmission control protocol (TCP) and user datagram protocol (UDP) communications with network devices and systems. This API is supposed to provide a modern alternative to the deprecated chrome.sockets APIs.
As Chrome Apps API chrome.sockets will soon be deprecated, developers are encouraged to migrate to Isolated Web Apps. Enabling Direct Sockets in Chrome Apps in the meantime will facilitate & smoothen the transition process.
Explainers: https://github.com/WICG/direct-sockets/blob/main/docs/explainer.md