A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.
Hello, Welcome to Micorosoft Q&A,
UDP socket shared on multiple page
In general, we could use CoreApplication.Properties dictionary to store this socket instance and get it with the key in UWP platform, And Xamarin Forms has same method Application.Current.Properties dictionary that could pass the value.
For example
Application.Current.Properties["socket"] = socket;
Retrieve Instance
var socket = Application.Current.Properties["socket"] as Socket;
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.