microdc2 - Introduction

microdc is a command-line based Direct Connect client written in C by Oskar Liljeblad and designed to compile and run on modern POSIX compatible systems such as Linux.

After releasing microdc 0.12.0 I've renamed the project to microdc2 on Oskar's request.

microdc2 available from this site is the future improvement of the microdc based on Oskar's code version 0.11.0.


In addition to features available in the microdc 0.11.0 this version provides the following new options:

microdc2 0.15.0

microdc2 0.14.0

This release incorporates patches made by Alexey Illarionov for microdc-0.12.0.

microdc2 0.13.0

microdc 0.12.0


2006-12-24: microdc2 0.15.6 released.

2006-12-24: microdc2 0.15.5 released.

2006-12-09: microdc2 0.15.4 released.

2006-11-29: microdc2 0.15.3 released.

2006-11-29: microdc2 0.15.2 released.

2006-11-28: microdc2 0.15.1 released.

2006-11-28: microdc2 0.15.0 released.

2006-11-21: microdc2 0.14.0 released.

2006-11-14: microdc2 0.13.1 released.

2006-11-13: microdc2 0.13.0 released.

2006-10-25: microdc 0.12.0 released.


The latest version of microdc2 is 0.15.6, which was released on 2006-12-24:

The previous versions of microdc2 are available in the archive:

Copyright and License

microdc is copyright (C) 2004, 2005 Oskar Liljeblad

microdc2 is copyright (C) 2006 Vladimir Chugunov

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

The source code of this project may contain files from other projects, and files generated by other projects, including:

Such files are licensed under the terms of the GNU General Public License or a license compatible with the GNU GPL (as listed on http://www.gnu.org/licenses/license-list.html). See each file for copyright details.

The translations in the po directory may contain translations from other projects, including:

See the specific message file (PO file) for copyright of those messages.


The following programs are required to build microdc2:

The following libraries are required to run microdc2:


To build the microdc2 executable, simply run


If you want to install microdc2 on your system, run make install. This will copy the executable, manual page and locale files to the appropriate directories.

For more information regarding configure and make, see the INSTALL document.

Usage and Customization


microdc2 is usually started like this:


(Some command line options are available - run microdc2 --help to get a list.) Once started, a prompt is displayed and microdc2 is ready for your command. You can get a list of commands by pressing tab on the empty prompt or by issuing the help command. The help command can also be used to get information on a specific command:

help exit


Note: starting from microdc2 0.13.0 release the microdc_tth program is not built by default. It is unnecessary due to availability of the TTH calculation within microdc2 itself.

microdc_tth is an application that can be used to maintain TTH hashes for shared files. It is usually started like this:

microdc_tth /my/share/dir

It creates .microdc_tth folder in the each subdirectory and puts the TTH hash to this folder. The XML file list contains only files with existing TTH files.


Web site and file area for microdc is hosted on Savannah:


Web site and file area for microdc2 is hosted on Corsair626:


The latest version of microdc2 should always be available on this site.


Please send bug reports, suggestions, ideas or comments in general to the mailing list:


The author of original microdc, Oskar Liljeblad, can be contacted by e-mail on the following address:


The author of microdc2, Vladimir Chugunov, can be contacted by e-mail on the following address: