├── .gitignore ├── .idea └── .gitignore ├── README.md ├── Recqtimer.h ├── client.cpp ├── client.h ├── commmsg.cpp ├── commmsg.h ├── ctrlmsg.cpp ├── ctrlmsg.h ├── downloadmanager.cpp ├── downloadmanager.h ├── filemsg.cpp ├── filemsg.h ├── httpdownloader.cpp ├── httpdownloader.h ├── main.cpp ├── mainctrl.cpp ├── mainctrl.h ├── mainctrlmacro.h ├── mainctrlutil.cpp ├── mainctrlutil.h ├── mainrecord.cpp ├── mainrecord.h ├── mainwindow.cpp ├── mainwindow.h ├── mainwindow.ui ├── msgutil.cpp ├── msgutil.h ├── p2pDownload.pro ├── p2ptcpsocket.cpp ├── p2ptcpsocket.h ├── p2pudpsocket.cpp ├── recqtimer.cpp ├── resource ├── algorithm_description.md ├── p2pDownload任务分发算法.png └── 主控模块.xmind ├── tcpsocketutil.cpp ├── tcpsocketutil.h ├── test1.cpp ├── test1.h ├── udpsocketutil.cpp ├── udpsocketutil.h └── uniformlabel.h /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Default ignored files 3 | /workspace.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/README.md -------------------------------------------------------------------------------- /Recqtimer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/Recqtimer.h -------------------------------------------------------------------------------- /client.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/client.cpp -------------------------------------------------------------------------------- /client.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/client.h -------------------------------------------------------------------------------- /commmsg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/commmsg.cpp -------------------------------------------------------------------------------- /commmsg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/commmsg.h -------------------------------------------------------------------------------- /ctrlmsg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/ctrlmsg.cpp -------------------------------------------------------------------------------- /ctrlmsg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/ctrlmsg.h -------------------------------------------------------------------------------- /downloadmanager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/downloadmanager.cpp -------------------------------------------------------------------------------- /downloadmanager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/downloadmanager.h -------------------------------------------------------------------------------- /filemsg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/filemsg.cpp -------------------------------------------------------------------------------- /filemsg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/filemsg.h -------------------------------------------------------------------------------- /httpdownloader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/httpdownloader.cpp -------------------------------------------------------------------------------- /httpdownloader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/httpdownloader.h -------------------------------------------------------------------------------- /main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/main.cpp -------------------------------------------------------------------------------- /mainctrl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/mainctrl.cpp -------------------------------------------------------------------------------- /mainctrl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/mainctrl.h -------------------------------------------------------------------------------- /mainctrlmacro.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/mainctrlmacro.h -------------------------------------------------------------------------------- /mainctrlutil.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/mainctrlutil.cpp -------------------------------------------------------------------------------- /mainctrlutil.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/mainctrlutil.h -------------------------------------------------------------------------------- /mainrecord.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/mainrecord.cpp -------------------------------------------------------------------------------- /mainrecord.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/mainrecord.h -------------------------------------------------------------------------------- /mainwindow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/mainwindow.cpp -------------------------------------------------------------------------------- /mainwindow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/mainwindow.h -------------------------------------------------------------------------------- /mainwindow.ui: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/mainwindow.ui -------------------------------------------------------------------------------- /msgutil.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/msgutil.cpp -------------------------------------------------------------------------------- /msgutil.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/msgutil.h -------------------------------------------------------------------------------- /p2pDownload.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/p2pDownload.pro -------------------------------------------------------------------------------- /p2ptcpsocket.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/p2ptcpsocket.cpp -------------------------------------------------------------------------------- /p2ptcpsocket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/p2ptcpsocket.h -------------------------------------------------------------------------------- /p2pudpsocket.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/p2pudpsocket.cpp -------------------------------------------------------------------------------- /recqtimer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/recqtimer.cpp -------------------------------------------------------------------------------- /resource/algorithm_description.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/resource/algorithm_description.md -------------------------------------------------------------------------------- /resource/p2pDownload任务分发算法.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/resource/p2pDownload任务分发算法.png -------------------------------------------------------------------------------- /resource/主控模块.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/resource/主控模块.xmind -------------------------------------------------------------------------------- /tcpsocketutil.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/tcpsocketutil.cpp -------------------------------------------------------------------------------- /tcpsocketutil.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/tcpsocketutil.h -------------------------------------------------------------------------------- /test1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/test1.cpp -------------------------------------------------------------------------------- /test1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/test1.h -------------------------------------------------------------------------------- /udpsocketutil.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/udpsocketutil.cpp -------------------------------------------------------------------------------- /udpsocketutil.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/udpsocketutil.h -------------------------------------------------------------------------------- /uniformlabel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/whuLinux/p2pDownload/HEAD/uniformlabel.h --------------------------------------------------------------------------------