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" 9 vuotta sitten
libqcp Fix scopeid parsing from avahi -> QHostAddress 9 vuotta sitten
libqtavahi Fix scopeid parsing from avahi -> QHostAddress 9 vuotta sitten
qcp Implement remove in model, add optional placeholder for empty list, fix some modelindex handling 9 vuotta sitten
.gitignore Initial commit 9 vuotta sitten
README.txt [readme] add method "file" 9 vuotta sitten
qcp.pro Add README.txt 9 vuotta sitten

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'