Rebex WebSocket
WebSocket library for modern and legacy platforms
Download 30-day free trial Buy from $499More .NET libraries
-
Rebex Total Pack
All Rebex .NET libraries together
// create an instance of WebSocket client
var client = new WebSocketClient();
// connect to a server
client.Connect("ws://echo.example.org");
// send a text message
client.Send("Hello!");
// receive a text message
string response = client.Receive();
Show me more code...
Why Rebex WebSocket?
Multiplatform WebSocket client
WebSockets are becoming increasingly popular, but support in .NET is far from perfect. Versions of .NET prior to 4.5 don't support WebSockets at all, and even .NET 4.5 only supports WebSockets on Windows 8 or higher.
Rebex WebSocket supports legacy platforms (including .NET Framework 2.0/3.5 and .NET Compact Framework 3.5/3.9) and works on legacy operating systems (Windows Vista SP1, Windows XP SP3, Windows Mobile 5/6, Windows CE, Pocket PC, Windows Embedded Compact). Of course, modern platforms such as .NET 5-10 are supported as well.
TLS 1.3 or TLS 1.2 on Windows XP, Windows 7, or Windows CE
Rebex WebSocket implements the following modern TLS features:
- TLS 1.3, 1.2, 1.1, or 1.0 on Windows 7 or higher
- TLS 1.3, 1.2, 1.1, or 1.0 on Windows XP SP3 or higher
- TLS 1.3, 1.2, 1.1, or 1.0 on legacy .NET Compact Framework 3.5/3.9
- Elliptic Curve DSA (ECDSA) digital signature algorithm
- RSA digital signature algorithm
- Ed25519 digital signature algorithm
- ML-DSA post-quantum digital signature algorithm
- Elliptic Curve Diffie-Hellman (ECDH) key exchange
- ML-KEM post-quantum key exchange
- Modular Diffie-Hellman key exchange
- AES/GCM ciphers
- ChaCha20/Poly1305 ciphers
- SHA-2 certificates and hashing algorithms
- OCSP stapling
- Server Name Indication (SNI) extension
- Renegotiation Indication extension
- And more...
Note: ECDSA, ECDH require a plugin on very old systems. ML-KEM requires a plugin unless running on Windows 11 25H2. ML-DSA requires a plugin unless running on Windows 11 25H2 or up-to-date Linux with .NET 10.
Platforms
.NET
.NET Framework
Xamarin.iOS
Xamarin.Android
Learn more about supported standards and platforms.
Legacy platforms
(not included in standard product packages - see more)
.NET Compact Framework