[Project_owners] recveiving UDP-Broadcasts from JavaScript

Bernd Eckstein eck at ivu.de
Sat Dec 27 11:36:05 EST 2003

Ben Bucksch schrub im Jahre 25.12.2003 18:40:
> Bernd Eckstein wrote:
>> 2nd, my question. I'm trying to receive UDP-Broadcasts with JavaScript 
>> in a xpi. I think I've to use the NSPR, but I've no idea how to access. 
> You can't use NSPR directly from JS, it's a C API. You can only access 
> APIs in IDL and marked as scriptable 

Yes, I know that.

> (as well as a few built-in JS 
> APIs). So, you'd probably have to use netwerk APIs or implement one.

Hmpf. My last C-experiences are 6 years back. I'll keep on looking. 
Thanks for help. I'll have a deeper look at the jslib for that.

Mit freundlichen Gruessen / Best regards

B.Eckstein, IVU Traffic Technologies AG
Elisabethstr. 16, 52062 Aachen
Telefon: +49(241)47051-0, Telefax: +49(241)47051-89
mailto:B.Eckstein at ivu.de, http://www.ivu.de

(9) For all resources, whatever it is, you need more.
(10) One size never fits all.		from RFC 1925

More information about the Project_owners mailing list