Re: [Fwd: local device discovery - api, demo and source code]

On Fri, 2011-04-15 at 17:09 +0800, Glenn Adams wrote:
> If WebSocket were extended to permit send/recv of a UDP
> multicast/unicast packet, then it should be possible to implement all
> of UPnP protocol, including SSDP, directly in client side JS via an
> (extended) WebSocket enabled UA.

The Web Sockets API is designed for bilateral communications. How would
you suggest modifying it to support multicast and datagram based
messages?

> The question remains whether it is necessary or useful to define
> higher level abstraction layers, e.g., a low-level, generic UPnP
> layer, UPnP service specific layers, etc.

Quite so. This could come later based upon experience by library
developers with exploring various approaches to defining overarching
abstractions.

-- 
 Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett

Received on Friday, 15 April 2011 09:52:58 UTC