No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
Stefan Bühler 1da26c9403 [readme] add method "file" hace 9 años
libqcp Fix scopeid parsing from avahi -> QHostAddress hace 9 años
libqtavahi Fix scopeid parsing from avahi -> QHostAddress hace 9 años
qcp Implement remove in model, add optional placeholder for empty list, fix some modelindex handling hace 9 años
.gitignore Initial commit hace 9 años
README.txt [readme] add method "file" hace 9 años
qcp.pro Add README.txt hace 9 años

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'