Re: Multicast-Socket and JavaScript
Wan-Teh Chang <[email protected]> Mon, 10 Nov 2008 11:16:43 -0800
| Newsgroups | gmane.comp.mozilla.devel.nspr |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Nov 10, 2008 at 9:14 AM, Simon <[email protected]> wrote: > Hello, > > my application should have a form of push-service. So I decided to get > the xml-messages from the server over multicast in my intranet. In the > NSPR API I read something about "mcast", but not a lot. So I have two > questions: > - can I join to a multicast session from JavaScript or need I c++? > - where can I found more information about this topic? (C++ or > JavaScript) NSPR supports multicast. It's an area I'm unfamiliar with. I only remember there are socket options you can set to join or leave a multicast session. NSPR is a C API, so you can definitely call it from C++. I don't know if you can call the NSPR multicast functions from JavaScript. Wan-Teh