[Project_owners] Tutorial on NNTP access in XUL
Eric H. Jung
grimholtz at yahoo.com
Thu Jan 5 18:24:42 EST 2006
Didier, as an aside to you happen to know if the SMTP interfaces are
implemented in Firefox and Mozilla (not just Thunderbird)?
--- Didier Ernotte <didier at ernotte.com> wrote:
> Ok, it seems like these object are not implemented in Firefox, only
> Thunderbird... :-( So I'm not gonna use them... But I have to
> reimplement a NNTP protocol by hand based on the socket. I have
> at the jslib project to play with the socket, but I have a problem.
> script is
> var socket = new Socket();
> when I get the welcome string form the server in the myObserver, I
> socket.write("GROUP netscape.mozilla.dev.xul\n");
> to get the number of news in the newsgroup, but I never get an
> The only answer from the news server is a "503 time out" message
> few minutes.
> Can we make a scenario like
> OPEN SOCKET
> It look like after one read and one write, the inputStreamBuffer and
> outputStreamBuffer are stuck. Do we have to reset them ?
> How can I do this scenario ?
> --- Didier Ernotte <didier at ernotte.com> wrote:
> > Hi ,
> > I'm looking for a small tutorial on how to use the XPCOM objet to
> > acces
> > a NNTP server. I have notive that there is a nsINntpIncomingServer,
> > associated with a nsIMgsFolder, but a small tutorial or a few
> > lines would be appreciated (when I say "few lines", I mean not
> > reverse
> > engeneering Thunderbird...)
> > Thanks
> > Didier
> > _______________________________________________
> > Project_owners mailing list
> > Project_owners at mozdev.org
> > http://mozdev.org/mailman/listinfo/project_owners
> Project_owners mailing list
> Project_owners at mozdev.org
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
More information about the Project_owners