Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Sockets not sending data on UWP on last Xamarin with .NET Standard 2.0

$
0
0

I am teaching Xamarin from several years ago, and I do a sample application that sends and receive data using sockets to a custom server. Until now, my code always has worked correctly under all platforms. But, I has tested today with last Xamarin Forms with .NET Standard 2.0 project. I have realized that it works correctly under Android as always, but refuses to send (and receive) data under UWP. It seems to connect correctly to socket server endpoint, but when I try to send data, it never send it and receive a Timeout. A standalone UWP application using same communications code, works also correctly. So I asume that is some issue due the new .NET Standard 2.0, because old apps that works, use older .NET Standard versions.

Any information or help to solve this issue? (I have tried to downgrade the shared .NET Standard code to 1.X, but then I have some other errors and can't compile).

Thanks in advance.
Ruben


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>