|
From: <ve...@on...> - 2002-02-16 13:43:52
|
Well, the sourceforge project is online now, so here's a little status report of what I've done so far, and some resources. The first thing we got to do, is decide who does what, what needs to be done first, etc. What's done: -The chatting function is mostly done. What needs to be done: -Downloading of the list of public hubs from www.neo-modus.com, parsing the list, etc. -A new gui, the one I have now is just temporary, doesn't handle searching, browsing users files, etc. -Down/Uploading of files: *Searching for files and returning search results *Client/client communication *A dowload queue *Slots *Sharing of files *Passive and active mode (I think we should do passive first) -Browsing of other users' files and letting them browse ours *Down/uploading needs to work first *The filelists are huffman-encoded to make them smaller, using it's own file format, we need encode/decode these (well documented in the DCTC source) *Since DC is a windows program, the lists use \ as a path delimiter, need to convert when building our list, etc -The code isn't very structured, we should get it more structured (Yeah I know, I shoud have spent more time on analysis and design before starting to code ;-)) -Squash some bugs, and get rid of memory leaks, etc. -We should get up a web page -DCTC has started to add some extensions to the protocol, maybe support these? (Low priority, I think) -Optimising (Low priority, get the functionality in place first) Resources: There are some other opensource DC-clients we can look at. But all I've found are released under the GPL, so we can't use any code directly, since BeDC is released under the BSD license. But we can look at the code to see how they have done things, and look at their comments, documentation, etc. (And it's better to do it yourself anyway ;-)) Links: Official Direct Connect client: <http://www.neo-modus.com/> Other projects: DCTC - Direct Connect Text Client (Linux/C): <http://ac2i.tzo.com/dctc/> DC++ (Windows/C++(MFC)): <http://sourceforge.net/projects/dcplusplus/> Open Direct Connect (Windows/VB): <http://sourceforge.net/projects/odc/> JavaDC (Multiplatform/Java): <http://javadc.sourceforge.net/> openDCd - OpenSource Direct Connect Server (Linux/Windows / delphi/kylix) < http://opendcd.sourceforge.net/> (The page also has links to other clients) Protocol spec: Written by the openDCd people: <http://prdownloads.sourceforge.net/opendcd/ directconnect.txt> (The client-server communication looks complete and correct, but the client-client one has some things missing) The DCTC source also looks well documented. Regards, Vegard |