Skip to main content
System.Net.Sockets package icon

System.Net.Sockets

Provides classes such as Socket, TcpClient and UdpClient, which enable developers to send and receive data over the network. Commonly Used Types: System.Net.Sockets.Socket System.Net.Sockets.SocketAsyncEventArgs System.Net.Sockets.LingerOption System.Net.Sockets.SocketAsyncOperation System.Net.Sockets.ProtocolType System.Net.Sockets.NetworkStream System.Net.Sockets.TcpClient System.Net.Sockets.SocketType System.Net.Sockets.UdpClient System.Net.Sockets.SocketShutdown When using NuGet 3.x this package requires at least version 3.4.

Total Downloads
2.3B
2,339,936,708
Published
Nov 15, 2016
Latest stable version

Install

.NET CLI
dotnet add package System.Net.Sockets --version 4.3.0
Package Manager Console
Install-Package System.Net.Sockets -Version 4.3.0
PackageReference
<PackageReference Include="System.Net.Sockets" Version="4.3.0" />

Frameworks

MonoAndroid1.0 MonoTouch1.0 .NETFramework4.6 .NETStandard1.3 Xamarin.iOS1.0 Xamarin.Mac2.0 Xamarin.TVOS1.0 Xamarin.WatchOS1.0

Dependencies

[1.1.0, )
[1.1.0, )
System.IO
.NETStandard1.3
[4.3.0, )
System.Net.Primitives
.NETStandard1.3
[4.3.0, )
System.Runtime
.NETStandard1.3
[4.3.0, )
System.Threading.Tasks
.NETStandard1.3
[4.3.0, )