Xamarin Forms: How do I implement WebSockets? -
we want transfer data client server in realtime, have decided go websockets.
using xamarin.forms surprisingly difficult find suitable websocket library.
the best match "websocket4net" because directly suggested on xamarin's homepage. not able install library, because supports versions of .net v4.0. (we using v4.5)
whenever try change target framework of pcls v4.5 v4.0 loads of weird errors stating "windows.input library not found", "observablecollection not found" etc.
so using library "websocket.portable.core", although lacking functionality worked out. reason can receive 1 message. event "messagereceived" called once.
has heard such problem websockets? maybe time use library, can't find one?
i can't find solution how implement websockets natively each platform.
thanks in advance
websockets.pcl has native implementation each platform , it's documented
Comments
Post a Comment