Forum Xamarin.iOS

WatchOS and WebSockets

Hi! After attempting to implement some websocket functionality in to my WatchOS-app I just keep getting different exceptions such as "System.Net.WebSockets.WebSocketException: Unable to connect to the remote server ---> System.PlatformNotSupportedException: System.Net.Dns:GetHostByName".

Everything related to the websocket functionality seems to throw "System.PlatformNotSupportedException", is it even possible to implement this kind of functionality in to a WatchOS-application as of right now?

Posts like this blog.lightstreamer.com/2018/02/new-watchos-sdk-now-available.html (sorry, can't post full links yet) makes it pretty clear that "The new watchOS SDK derives from the iOS SDK version 4.0.0 and retains the same version number. It includes all the APIs and features of the iOS SDK, with the single exception of WebSocket support (due to limitations of the watchOS platform)."

Is this still a thing?

Tagged:
Sign In or Register to comment.