[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-tasks] [task #4613] News server plugin

From: jave
Subject: [Mldonkey-tasks] [task #4613] News server plugin
Date: Thu, 20 Apr 2006 19:15:12 +0000
User-agent: Emacs-w3m/1.4.53 w3m/0.5.1+cvs-1.946

Follow-up Comment #1, task #4613 (project mldonkey):

I've been looking into the option of adding nntp support by adding a
new network protocol to the FileTP module, and not use external libraries.

This seems reasonable, because nntp is a simple protocol similar to

A benefit of this aproach is that everything gets integrated with
mldonkey normal behaviour fairly easily.

A problem, though, is that nntp doesnt have support for returning the
number of bytes to be transfered, which the filetp module relies on,
because the swarmer needs to preallocate the amount and so on.
(there are some extensions to nntp for this, but they cant be relied
upon, even when they are implemented by the nntp server)

A simple solution might be to use the number of lines of the article,
which is known, and multiply it with the line-size of yenc articles,
which is also known, and add some padding. The padding can just be
discarded when it comes to decoding time.

NZB support could be added on top of this. Im not exactly sure how it
works, but it seems to just be an xml list of message id:s to be

This simple implementation ought to be enough to start with.



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]