rda.SocketsForPCL 2.0.2

Requires NuGet 2.8.1 or higher.

dotnet add package rda.SocketsForPCL --version 2.0.2
NuGet\Install-Package rda.SocketsForPCL -Version 2.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="rda.SocketsForPCL" Version="2.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add rda.SocketsForPCL --version 2.0.2
#r "nuget: rda.SocketsForPCL, 2.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install rda.SocketsForPCL as a Cake Addin
#addin nuget:?package=rda.SocketsForPCL&version=2.0.2

// Install rda.SocketsForPCL as a Cake Tool
#tool nuget:?package=rda.SocketsForPCL&version=2.0.2

Cross-platform socket API for Xamarin iOS/Android/Forms, Xamarin.Mac, Windows Phone 8/8.1, Windows Store, UWP and Windows Desktop. Includes support for TCP and UDP listeners and clients, as well as UDP multicast.

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid10 is compatible. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Phone wp8 is compatible.  wp81 was computed.  wpa81 is compatible. 
Windows Store win8 is compatible. 
Xamarin.iOS xamarinios10 is compatible. 
Xamarin.Mac xamarinmac is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (15)

Showing the top 5 NuGet packages that depend on rda.SocketsForPCL:

Package Downloads

Useful extensions/tools/utils I keep using all over the place. Hit me up (@bscheiman) if you need help.


Cross-platform Quciblox Sdk for Xamarin iOS/Android/Forms, Xamarin.Mac/MonoMac, Windows Phone 8/8.1, Windows Store and Windows Desktop.


Supports the DeviceDrive SDKs for iOS/Android in Xamarin


PCL Profile259 Websocket client. Perfect for Xamarin Forms Portable Class Library applications. Utilize's sockets-for-pcl.


Part of the The Realtime Framework, Realtime Cloud Messaging (aka ORTC) is a secure, fast and highly scalable cloud-hosted Pub/Sub real-time message broker for web and mobile apps. If your website or mobile app has data that needs to be updated in the user's interface as it changes (e.g. real-time stock quotes or ever changing social news feed) Realtime Cloud Messaging is the reliable, easy, unbelievably fast, "works everywhere" solution.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on rda.SocketsForPCL:

Repository Stars
Samples for the Urho bindings
Version Downloads Last updated
2.0.2 178,269 8/22/2016
2.0.1-pre 1,603 6/6/2016
2.0.0-pre2 1,699 1/15/2016
2.0.0-pre1 1,511 1/15/2016
1.2.2 160,716 7/27/2015
1.2.1 3,091 6/10/2015
1.2.0 2,213 5/19/2015
1.1.8 5,026 4/20/2015
1.1.7 1,805 4/12/2015
1.1.6 1,846 4/12/2015
1.1.5 5,767 3/11/2015
1.1.4 3,500 2/9/2015
1.1.4-pre 1,545 2/8/2015
1.1.3 1,836 2/6/2015
1.1.2 1,660 2/6/2015
1.1.1 2,071 1/29/2015
1.1.0 1,797 1/27/2015 2,469 1/4/2015
1.0.0 3,641 1/3/2015

2.0.2 (2016-08-22)


- It is now possible to retrieve the `ICommsInterface` that a `TcpSocketClient` is connected via. Thanks @fubar-coder
- Auto-properties have been replaced with proper events across all classes. Thanks @Waty
- `TcpSocketClient`'s `ConnectAsync` method optionally takes a `CancellationToken` to support client-invoked cancellation and scenarios like timeout. Thanks @SparkStream
- You may now specify a service name rather than port when connecting with a `TcpSocketClient`. Thanks @SparkStream
- For those that need it, you can access the underlying .NET or WinRT/UWP socket instance from native (non-PCL) projects. Thanks @SparkStream
- `UdpSocketClient` can now receive response packets. This simplifies scenarios where you don't need to listen for new packets, but do need to receive response packets. Thanks @SatoshiARA
- All the Udp socket classes now include a `Send-` overload that allows you to specify the number of bytes to be read from the input. This can avoid the need to duplicate a buffer when working with streams. Thanks @jasells


- Fixed `InvalidCastException` being thrown by `TcpSocketListener.Dispose()`. Thanks @Waty
- Fix for a rare issue where the Udp classes could throw an exception after receiving an ICMP unreachable packet in certain cases


- Support for the iOS "Classic" API, MacOS "Classic" and MonoMac (open source) platforms has been dropped.

Known Issues:

- A `SocketException` class has been added, allowing socket-related exceptions to be caught from PCL code. In this release, this works for WinRT/UWP platforms only.


- sockets-for-pcl can now also be installed via the Xamarin Component Store. Thanks @mattleibow
- special thanks to @vbisbest for helping work through issues in the prereleases