← Back to release summary

Direct Sockets API in Chrome Apps

Category
Network / Connectivity
Type
New or changed feature
Status
Enabled by default (Chrome 125)
Intent stage
None

Summary

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.

Motivation

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.

Standards & signals

Explainers: https://github.com/WICG/direct-sockets/blob/main/docs/explainer.md

View on chromestatus.com