Xamarin Websocket: Native vs Managed

CosminStirbuCosminStirbu ROMember ✭✭

We're planning on integrating websockets into our Xamarin (Xamarin.iOS and Xamarin.Android) application.

We're seeing two possible options for doing this:

  1. Go with the native approach by creating (using existing) bindings for popular iOS / Android websocket frameworks such as SocketRocket and nv-websocket-client or any other for that matter
  2. Go with the managed implementation - System.Net.WebSockets, which until recently had some issues supporting wss but those were fixed.

My main concerns are not related to code sharing but rather to standard conformance and security issues.

Any suggestions would be appreciated.

Thank you, Cosmin

Sign In or Register to comment.