You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Stefan Bühler 1da26c9403
[readme] add method "file"
13 years ago
libqcp Fix scopeid parsing from avahi -> QHostAddress 13 years ago
libqtavahi Fix scopeid parsing from avahi -> QHostAddress 13 years ago
qcp Implement remove in model, add optional placeholder for empty list, fix some modelindex handling 13 years ago
.gitignore Initial commit 13 years ago
README.txt [readme] add method "file" 13 years ago
qcp.pro Add README.txt 13 years ago

README.txt

qcp is an application to share files on a local network; it
was inspired by http://www.fefe.de/ncp/.

design goals for qcp:
 * offer files for "multiple" downloads (ncp offers data only for one client), i.e. "server" or "persistent" mode
 * offer different sets of files (ncp can only offer one download as it uses always the same tcp port 9002)
 * discover downloads via multicast DNS-SD (avahi) instead of broadcasts
 * different tools:
   * qpush: for simple one time push
   * qpoll: polls the first "one-time" share it discovers
   * qcp: gui for managing persistent shares / downloading other shares
 * abilility to limit bandwidth

In order to use avahi from qt there is libqtavahi:
 * Signal/Slot based avahi api
 * a QAbstractItemModel

qcp offers different methods to share data (method is specified in the 'm' key in the TXT data)
 * 'file'

qcp uses "_qcp._tcp" as mDNS-SD type; so to fake a share you could use this:
 $ avahi-publish-service 'test share' '_qcp._tcp' 9876 'm=file'