← Back to release summary

Direct Sockets API

Category
Isolated Web Apps-specific API
Type
New or changed feature
Status
Enabled by default (Chrome 131)
Intent stage
Start prototyping

WPT details: These tests require a specific --isolated-context-origins flag to be tested in WPTs, so they're run as a part of a virtual suite and are not reflected on wpt.fyi.

Summary

Allows Isolated Web Apps to establish direct transmission control protocol (TCP) and user datagram protocol (UDP) communications with network devices and systems as well as listen to and accept incoming connections.

Motivation

Many network devices use their own protocols over TCP or UDP, instead of using HTTPS. Like WebUSB, WebMIDI and WebBluetooth, this API allows web apps to communicate with local devices and information systems.

Standards & signals

Ecosystem

Samples: https://github.com/GoogleChromeLabs/telnet-client

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

View on chromestatus.com