Re: Multicast-Socket and JavaScript

Wan-Teh Chang <[email protected]> Tue, 11 Nov 2008 10:40:16 -0800
Newsgroups gmane.comp.mozilla.devel.nspr
Message-ID <[email protected]>
On Tue, Nov 11, 2008 at 9:36 AM, Simon <[email protected]> wrote:
>
> OK, very nice. Today I read a lot about it and it seems I could
> realize it on this way. My idea is now:
> I create two classes: xmlMulticastSocket and
> xmlMulticastSocketListener. If the xmlMulticastSocketListener (runs in
> a second thread) gets the xml-file completely it should fire an
> nsIDOMDataContainerEvent. This Event would be handled by a JavaScript
> function (So the multicastSocket is also created with javascript). My
> Question is: How "fire" I the event in c++? I think to make an
> instance of an event isn't enough, is it?
>
> It would be nice to help me again... Thanks a lot!

I'm sorry that I don't know JavaScript and nsIDOMDataContainerEvent.
Please post your questions to the mozilla mailing lists that specialize
in these topics.  I'm sure there are people there who can help you.

Wan-Teh