New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

question

Upvotes
Accepted
3 1 1 2

WebSockets client in C#: which library?

You are using the third party WebSocketSharp library in your examples. Is there any reason why to avoid the "System.Net.WebSockets" library - part of .NET framework?

websocketsrrtoc#.netrefinitiv-realtime-optimised
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
19.2k 86 39 63

Hi @stanislav_slavik,

You should be able to use any WebSocket implementation, including System.Net.Websockets. In fact,this .Net example is using it: https://github.com/Refinitiv/websocket-api/tree/master/Applications/Examples/RDP/CSharp

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.