Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Stefan Bühler 1da26c9403 [readme] add method "file" 9 år sedan
libqcp Fix scopeid parsing from avahi -> QHostAddress 9 år sedan
libqtavahi Fix scopeid parsing from avahi -> QHostAddress 9 år sedan
qcp Implement remove in model, add optional placeholder for empty list, fix some modelindex handling 9 år sedan
.gitignore Initial commit 9 år sedan
README.txt [readme] add method "file" 9 år sedan
qcp.pro Add README.txt 9 år sedan

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'