Can UPnP Discovery be done from Javascript?
Asked Answered
T

1

8

I'm working on a webpage on which I want to discover some UPnP devices, however the client maybe on a different VLAN than the server. So, UPnP discovery needs to happen on the client. Apparently UDP is not possible with Javascript. Does anyone know if there is a way to do UPnP discovery from the client's browser?

Tracee answered 4/2, 2011 at 19:59 Comment(1)
I think very, very hardly without a plug-in.Landel
A
1

JavaScript has no built-in raw networking capabilities. For example, you can't natively do pings. You can do a DIY ping/port scanner using the img tag, and setting the src attribute to a target and testing the response. But, other than that, you will need a plugin or ActiveX.

I would also suggest using Java.

Ailee answered 4/2, 2011 at 20:4 Comment(1)
That's what I thought, just thought I would get other's thoughts.Tracee

© 2022 - 2024 — McMap. All rights reserved.