I am using Streaming API on Xamarin.Forms and it works fine. But when I try to close a connection by _hueStreamingClient.Close() it gets System.Net.Sockets.SocketException. What is the right way to stop streaming?
Thanks. Also noticed this but just used a try catch. It's now fixed by using a Shutdown and Close on the socket instead of a Disconnect(). New version is up on NuGet.
Hello,
I am using Streaming API on Xamarin.Forms and it works fine. But when I try to close a connection by
_hueStreamingClient.Close()
it gets System.Net.Sockets.SocketException. What is the right way to stop streaming?