4 ms·
StackBlitz' WebContainers have in-browser TCP/IP stack, I think from MirageOS.
by marwis 5y ago
StackBlitz' WebContainers have in-browser TCP/IP stack, I think from MirageOS.
- dboreham 5y agoHow does it get raw ip packets out from inside the browser?
- westurner 5y agoDoes it need to reframe packet structs and then fix fragmentation issues, or can it set the initial MSS (because MTU discovery likely won't work quite right) so that it doesn't have to ~shrink and re-fragment tunneled {TCP,} packets? https://en.wikipedia.org/wiki/Maximum_segment_size#MSS_and_MTU https://en.wikipedia.org/wiki/Maximum_segment_size#MSS_and_M...
- marwis 5y agoI think it's only externally exposed as local-only HTTP server, presumably via service worker, so you can open the website you are developing. The IP network is entirely virtual.