[Jslib] socket.js, chatzilla and ...shudder...definitions

Charles Melhorn melodious at mindspring.com
Tue Sep 16 13:34:57 EDT 2003


Stephen Knight wrote:

>>
>> Steve, I know you are wokring on socket stuff. What are your thoughts?
>
>
> As far as the synchronous routines are concerned...too late.  I 
> already have socket.js clubbed into submission so my xul-app is able 
> to open a connection to a "remote" device, send data and receive the 
> response.  (it seems to work fine w/ Moz 1.4 but I'm unlikely to test 
> with 1.2 or 1.3)
>
> Just to make sure we're using the same terminology:
> . synchronous:  where the xul-application initiates the socket 
> connection.
> . asynchronous:  where the xul-application waits for a connection.
>
> (I have to do this because, while looking at the code, I realized I 
> have a different definition of synch vs. asynch than what's being used)


I was using "asynchronous/synchronous" in the traditional
sense. As far as accepting a connection, the last time I
checked on this, which was a couple months ago, it wasn't
possible as Mozilla didn't support server sockets.

See http://bugzilla.mozilla.org/show_bug.cgi?id=92928

>>
>> Charles, is it cool if we swiped this code for jslib?
>
>
> since he posted the links...I hope that's a moot point ;) 


The fact that it's available on MozDev and licensed under
the GNU General Public License makes it a moot point,
but sure, you're welcome to anything you can use.

Charles





More information about the Jslib mailing list