Networking Components
DNS, endpoints, sockets, HTTP, headers, HTTP JSON, MIME, network information, security markers and WebSockets.
Targets in this family
| Component | Kind | Production dependencies | Representative header |
|---|---|---|---|
Net | static | Collections.Core, ComponentModel, Core.Base, Uri | System/Net/Cookie.hpp |
Net.Sockets | static | Core.Base, IO, Net, Threading.Tasks | System/Net/Sockets/IPPacketInformation.hpp |
Net.Http | static | Core.Base, IO, Net, Threading, Threading.Tasks, Uri (private) | System/Net/Http/ByteArrayContent.hpp |
Net.Http.Headers | static | Collections.Core, Core.Base, Uri, Net (private) | System/Net/Http/Headers/AuthenticationHeaderValue.hpp |
Net.Http.Json | interface | Core.Base, Net.Http, Text.Json, Threading.Tasks | System/Net/Http/Json/HttpClientJsonExtensions.hpp |
Net.Mime | static | Collections.Core, Core.Base | System/Net/Mime/ContentType.hpp |
Net.NetworkInformation | static | ComponentModel, Core.Base, Net, Threading.Tasks | System/Net/NetworkInformation/IPStatus.hpp |
Net.Security | interface | Core.Base | System/Net/Security/AuthenticationLevel.hpp |
Net.WebSockets | static | ComponentModel, Core.Base, Net, Net.Sockets, Threading, Threading.Tasks, Uri | System/Net/WebSockets/ClientWebSocket.hpp |
Addresses, DNS and URI integration
Net provides address, endpoint, cookie, DNS and related foundations. Windows builds attach Winsock privately. Emscripten DNS host operations explicitly throw because the required native APIs are unavailable.
Sockets
Net.Sockets covers socket, TCP/UDP and network stream patterns using platform socket APIs. Host permissions, interface availability and platform errno/WSA translation affect observable failures.
HTTP and headers
Net.Http provides message, content, client and handler surfaces for the implemented transport. Headers are a distinct component, and Net.Http.Json combines HTTP, tasks and Text.Json for JSON helpers.
WebSockets
The client implements ws://. Secure wss:// throws PlatformNotSupportedException; this is not hidden behind a vague “WebSockets supported” claim.
Network information
NetworkInterface is currently Linux-specific. Ping uses datagram ICMP; restrictive ping_group_range can require a raw receive fallback that the implementation does not yet provide. The separate missing-IPv6-proc test condition is environmental.
Net.Security is an interface/enum surface. Sharp Runtime does not currently supply certificates, SslStream, HTTPS or WSS transport.
Complete catalogue
See all 41 physical components for external dependencies, ownership and direct graph details.