man dctc (Commandes) - Direct Connect Text Client

NAME

dctc - Direct Connect Text Client

SYNOPSIS

dctc [options]

DESCRIPTION

Text console client of well known DC (Direct Connect) protocol which offers peer-based file-sharing. In practise it works better than gnutella and other similar systems as it allows dc hubs (servers) administrators to require clients to share specified amount of data. The amount is usually based on type of client's connection and it is used not to hurt or exclude anybody but to make file sharing "fair play".

OPTIONS

-h, --help
Display this help
-n, --nick=NICKNAME
user nickname (default: 'Noname')
-i, --info=INFO
user description (default: none)
-c, --cnx=CNX
user connection type (default: 'Cable')
-e, --email=EMAIL
user e-mail (default: none)
-d, --dlslot=NUM
number of download slot (default: 3)
-s, --share=DIR
shared directory (default: none)
-o, --offset=NUM
add this value to size real size of shared data (default: 0)
-a, --hostaddr=HOSTIP
IP of the host running this client (mandatory if using active mode) (default: IP of the first network interface)
-p, --port=PORT
localhost port to accept incoming connection (only in active mode) (default: 412 (like Direct Connect)). Be careful, value below 1024 is only allowed to privileged users (root)
-g, --hubip=HUBIP[:PORT]
IP of the hub to connect to. If no port is given the default port (411) is used
-f, --firewall
enable passive mode because host is behind a firewall (default: not behind a firewall)
-T, --tos=HUB,UDP,DL,UL TOS-Value to use on hub,udp,download,upload connections. Default values are 0.
-x, --no_xfer
Remote users cannot download (same as /DLOFF)
-w, --when_done
When download is done, move the file into done/ directory (same as /DONE).
-t, --no_tty
Detach from the tty used by the shell starting the program
-l, --link
Wait a connection on the unix socket before starting (only useful with a GUI)
-v, --version=VERSION
Force DC version. Modifying this number doesn't affect DCTC but it allows you to enter a hub refusing you just because you don't have the latest version of DC. This DCTC supports DC protocol version 1,0091
-u, --upload=NUM1,NUM2,NUM3
Bandwidth limit. NUM1 is the number of 512 bytes per second allowed to be sent NUM2 is the number of 512 bytes per second allowed to be received. NUM3 is the number of 8KBytes bloc per second that can be copied when client gathers GDLs parts. (default: unlimited [in fact, it is 16MB/s]) Note: this flag is only taken into account if this client creates the bandwidth limit semaphore, use /[UDG]BL to change the value later
-b, --precmd=COMMAND
perform the given command BEFORE connecting to the hub. Not all / commands can be used here, look at the command list to know which are. You can run more than one command by using --precmd for each one. When multiple --precmd are given, commands are performed in the given order.
-5, --nomd5sum
Do not compute MD5 sum for each shared file This sum is used for content search. Default: enabled
-k, --dctclink
some commands can be received from or send to other running dctc clients. This is useful to improve search and download efficiency.
-S, --socksaddr=ADDR
address (IP or name) of the SOCKS proxy to use Default: no SOCKS proxy is used
-P, --socksport=NUM
port of the SOCKS proxy. Default: 1080 Only used if -S used
-U, --socksuid=STRING
If the SOCKS proxy requires a userID, this is it Default: none
-x, --socksv5
Enable SOCKS v5 support. Default: if -S is used SOCKS protocol version 4 is used.
-K, --sockspass=STRING
If the SOCKS proxy requires a password, use this flag. Note: if this flag is used, you MUST also use -U to give a userID.
-C, --connectproxy=ADDR[:PORT]
address (IP or name) and port of a web proxy supporting the CONNECT command. The default port is 8080 if none is provided. This type of proxy allows passive mode connection only.
-D, --virtual_share_dir=DIR
Define a directory contains files describing virtually shared files. (see Docs/Vshare). Be careful, most of the information you provide can't contain the following

characters because Direct Connect uses them internally: | $

AVAILABILITY

The latest version of dctc can be obtained online from:

http://ac2i.homelinux.com/dctc/

COPYRIGHT

Copyright © 1997-2002 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.