Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Module

System.Networking.Sockets

module System.Networking.Sockets

TCP connections and listeners

Socket supports the current IPv4 TCP operations: connecting, listening, accepting, sending, receiving, inspecting the local port and closing. SocketError reports expected transport failures.

See sockets for bounds, deadlines and resource lifetime. System.Web.Http layers its bounded HTTP protocol support over this transport.

Types

2 items
Socket An invocation-owned, nonblocking IPv4 TCP connection or listener.
SocketError A recoverable socket validation, admission or transport failure.