I have created the code below to broadcast data in a Windows application using C#.
UdpClient server = new UdpClient("127.0.0.1", 9050);
string welcome = "Hello, are you there?";
data = Encoding.ASCII.GetBytes(welcome);
server.Send(data, data.Length);
Now I am looking for a way to read the same data in a web application using JavaScript or ASP.NET. How can I achieve this?