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.

23 lines
995 B

  1. qcp is an application to share files on a local network; it
  2. was inspired by
  3. design goals for qcp:
  4. * offer files for "multiple" downloads (ncp offers data only for one client), i.e. "server" or "persistent" mode
  5. * offer different sets of files (ncp can only offer one download as it uses always the same tcp port 9002)
  6. * discover downloads via multicast DNS-SD (avahi) instead of broadcasts
  7. * different tools:
  8. * qpush: for simple one time push
  9. * qpoll: polls the first "one-time" share it discovers
  10. * qcp: gui for managing persistent shares / downloading other shares
  11. * abilility to limit bandwidth
  12. In order to use avahi from qt there is libqtavahi:
  13. * Signal/Slot based avahi api
  14. * a QAbstractItemModel
  15. qcp offers different methods to share data (method is specified in the 'm' key in the TXT data)
  16. * 'file'
  17. qcp uses "_qcp._tcp" as mDNS-SD type; so to fake a share you could use this:
  18. $ avahi-publish-service 'test share' '_qcp._tcp' 9876 'm=file'