>William Bardwell wrote:
>> I am trying to write some code using the necko socket (and HTTP)
>> code, but I was a bit supprised to discover that 1.2.1 (which
>> matters to me because it is what RedHat is shipping) has some
>> async IO methods on nsISocketTransport, but doesn't have
>> nsIAsyncInputStream, and for newer Mozilla's it is the reverse.
>> Are there any async IO interfaces for sockets that will work
>> in 1.2.1 and now and in the future?
>>
>
>In general, you can do this. Pull a 1.2.1 tree. Any interface marked with the
status flag "FROZEN" will not change. You can grep for something like this:
>
>@status FROZEN
Yeah, this is a good theory, but as far as I can tell 1.2.1 doesn't have
enough frozen interfaces to do async socket IO reading and writing
with only frozen interfaces...
(nsIStreamListener is frozen, but the nsIStreamProvider that was in 1.2.1
isn't (and it was removed in more recent versions), and as mentioned above,
those interfaces have similar problems...)
And unless I am missing something, it looks like there are STILL not enough
frozen interfaces to do async IO with sockets using only frozen
interfaces... Am I missing something?
>Alternatively, you can just use the SDK for 1.2.1:
>
>ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.2.1/gecko-sdk-1.2.1-win32.zip
>
>There isn't a linux version of the SDK, but this will list the interface that were
>frozen at the time 1.2.1 shipped.
>
>Regards,
>Doug Turner
William Bardwell
[EMAIL PROTECTED]
_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib