Multicast support for chrome.socket API (issue 140681)

183 views
Skip to first unread message

Tilka

unread,
Nov 2, 2012, 4:07:53 AM11/2/12
to chromium...@chromium.org
Is there some kind of design document for the chrome.socket API? If not, I'd like to propose the following extension in order to fully support multicast:

Either several high-level wrapper functions:
chrome.socket.joinGroup(int socketId, string groupAddress, function callback)
chrome.socket.leaveGroup(int socketId, string groupAddress, function callback)
chrome.socket.blockSource(int socketId, string sourceAddress, function callback)
chrome.socket.unblockSource(int socketId, string sourceAddress, function callback)
chrome.socket.setAllowReuse(int socketId, bool allowReuse, function callback)
...

Or one low-level function and several allowed socket options:
chrome.socket.setSocketOption(int socketId, int option, object withWhateverParametersAreNeeded, function callback)
chrome.socket.MCAST_JOIN_GROUP
chrome.socket.MCAST_BLOCK_SOURCE
...

What do you think?

Mike Tsao

unread,
Nov 2, 2012, 12:24:01 PM11/2/12
to til...@gmail.com, chromium...@chromium.org
We'd welcome a design document for your proposal! Please include
specific use cases, which helps us validate the design and get a sense
of the appropriate priority for the work. Thanks.

Mike Tsao
> --
> Chromium Discussion mailing list: chromium...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-discuss
Reply all
Reply to author
Forward
0 new messages