实例介绍
一个Linux下的BT下载客户端的完整实现,包含源代码,和软件开发的详细讲解,包含BT算法,网路通信的具体实现等等。。是学习Linux下C编程的好资料,其中包含完整的工程代码,和Makefile文件
【实例截图】
【核心代码】
Linux下C编程_源代码.zip
└── Linux下C编程_源代码
├── BT软件下载开发完整版-00.doc
├── BT软件下载开发完整版-01.doc
├── Linux下C编程_源代码
│ ├── 源代码_BT下载程序
│ │ ├── bitfield.c
│ │ ├── bitfield.h
│ │ ├── bterror.c
│ │ ├── bterror.h
│ │ ├── data.c
│ │ ├── data.h
│ │ ├── log.c
│ │ ├── log.h
│ │ ├── main.c
│ │ ├── Makefile
│ │ ├── message.c
│ │ ├── message.h
│ │ ├── parse_metafile.c
│ │ ├── parse_metafile.h
│ │ ├── peer.c
│ │ ├── peer.h
│ │ ├── policy.c
│ │ ├── policy.h
│ │ ├── sha1.c
│ │ ├── sha1.h
│ │ ├── signal_hander.c
│ │ ├── signal_hander.h
│ │ ├── torrent.c
│ │ ├── torrent.h
│ │ ├── tracker.c
│ │ ├── tracker.h
│ │ └── ttorrent
│ ├── 程序使用说明.txt
│ ├── 第10章
│ │ ├── client
│ │ ├── client2
│ │ ├── client2.c
│ │ ├── client.c
│ │ ├── clinet3
│ │ ├── clinet3.c
│ │ ├── ctrlpocess
│ │ ├── ctrlpocess.c
│ │ ├── dual_pipe
│ │ ├── dual_pipe.c
│ │ ├── ftok
│ │ ├── ftok.c
│ │ ├── Makefile
│ │ ├── monitor
│ │ ├── monitor.c
│ │ ├── mylib.c
│ │ ├── mylib.h
│ │ ├── mylib.o
│ │ ├── opmsg
│ │ ├── opmsg.c
│ │ ├── pipe
│ │ ├── pipe.c
│ │ ├── procread
│ │ ├── procread.c
│ │ ├── procwrite
│ │ ├── procwrite.c
│ │ ├── rcvmsg
│ │ ├── rcvmsg.c
│ │ ├── reader
│ │ ├── reader.c
│ │ ├── sendmsg
│ │ ├── sendmsg.c
│ │ ├── server
│ │ ├── server2
│ │ ├── server2.c
│ │ ├── server3
│ │ ├── server3.c
│ │ ├── server.c
│ │ ├── sharemem.h
│ │ ├── test.c
│ │ ├── testso.c
│ │ ├── writer
│ │ └── writer.c
│ ├── 第11章
│ │ ├── Makefile
│ │ ├── my_client
│ │ ├── my_client.c
│ │ ├── my_recv.c
│ │ ├── my_recv.h
│ │ ├── my_recv.o
│ │ ├── my_scaner
│ │ ├── my_scaner.c
│ │ ├── my_server
│ │ ├── my_server.c
│ │ ├── my_strcpy
│ │ ├── my_strcpy.c
│ │ ├── test_address
│ │ ├── test_address.c
│ │ ├── test_select
│ │ └── test_select.c
│ ├── 第12章
│ │ ├── box
│ │ ├── box.c
│ │ ├── button_box
│ │ ├── button_box.c
│ │ ├── control
│ │ ├── control.c
│ │ ├── dialog.c
│ │ ├── gtkwin
│ │ ├── gtkwin.c
│ │ ├── Makefile
│ │ ├── Makefile_in
│ │ ├── menu
│ │ ├── menu.c
│ │ ├── table
│ │ ├── table.c
│ │ ├── test
│ │ └── test.c
│ ├── 第1章
│ │ ├── 1-1
│ │ ├── 1-1.c
│ │ └── Makefile
│ ├── 第2章
│ │ ├── 2-1
│ │ ├── 2-10
│ │ ├── 2-10.c
│ │ ├── 2-11
│ │ ├── 2-11.c
│ │ ├── 2-1.c
│ │ ├── 2-2
│ │ ├── 2-2.c
│ │ ├── 2-3
│ │ ├── 2-3.c
│ │ ├── 2-4
│ │ ├── 2-4.c
│ │ ├── 2-5
│ │ ├── 2-5.c
│ │ ├── 2-6
│ │ ├── 2-6.c
│ │ ├── 2-7
│ │ ├── 2-7.c
│ │ ├── 2-8
│ │ ├── 2-8.c
│ │ ├── 2-9
│ │ ├── 2-9.c
│ │ └── Makefile
│ ├── 第3章
│ │ ├── 3-1
│ │ ├── 3-1.c
│ │ ├── 3-2
│ │ ├── 3-2.c
│ │ ├── 3-3
│ │ ├── 3-3.c
│ │ ├── 3-4
│ │ ├── 3-4.c
│ │ ├── 3-5
│ │ ├── 3-5.c
│ │ ├── 3-6
│ │ ├── 3-6.c
│ │ ├── 3-7
│ │ ├── 3-7.c
│ │ └── Makefile
│ ├── 第4章
│ │ ├── 4-1
│ │ ├── 4-10
│ │ ├── 4-10.c
│ │ ├── 4-11
│ │ ├── 4-11.c
│ │ ├── 4-12
│ │ ├── 4-12.c
│ │ ├── 4-13
│ │ ├── 4-13.c
│ │ ├── 4-14
│ │ ├── 4-14.c
│ │ ├── 4-15
│ │ ├── 4-15.c
│ │ ├── 4-16
│ │ ├── 4-16.c
│ │ ├── 4-17
│ │ ├── 4-17.c
│ │ ├── 4-18
│ │ ├── 4-18.c
│ │ ├── 4-1.c
│ │ ├── 4-2
│ │ ├── 4-20
│ │ ├── 4-20.c
│ │ ├── 4-22
│ │ ├── 4-22.c
│ │ ├── 4-23
│ │ ├── 4-23.c
│ │ ├── 4-24
│ │ ├── 4-24.c
│ │ ├── 4-26
│ │ ├── 4-26.c
│ │ ├── 4-27
│ │ ├── 4-27.c
│ │ ├── 4-2.c
│ │ ├── 4-3-1
│ │ ├── 4-3-1.c
│ │ ├── 4-3-2
│ │ ├── 4-32
│ │ ├── 4-3-2.c
│ │ ├── 4-32.c
│ │ ├── 4-33
│ │ ├── 4-33.c
│ │ ├── 4-34.c
│ │ ├── 4-35
│ │ ├── 4-35.c
│ │ ├── 4-36
│ │ ├── 4-36.c
│ │ ├── 4-37.c
│ │ ├── 4-38
│ │ ├── 4-38.c
│ │ ├── 4-39
│ │ ├── 4-39.c
│ │ ├── 4-4
│ │ ├── 4-40.c
│ │ ├── 4-4.c
│ │ ├── 4-5.c
│ │ ├── 4-6
│ │ ├── 4-6-1.c
│ │ ├── 4-6-2.c
│ │ ├── 4-7
│ │ ├── 4-7.c
│ │ ├── 4-8
│ │ ├── 4-8.c
│ │ ├── 4-9
│ │ ├── 4-9.c
│ │ └── Makefile
│ ├── 第5章
│ │ ├── 5-1
│ │ ├── 5-11
│ │ ├── 5-11.c
│ │ ├── 5-1.c
│ │ ├── 5-2
│ │ ├── 5-2.c
│ │ ├── 5-3
│ │ ├── 5-3.c
│ │ ├── 5-4
│ │ ├── 5-4.c
│ │ ├── 5-5
│ │ ├── 5-5.c
│ │ ├── 5-6
│ │ ├── 5-6.c
│ │ └── Makefile
│ ├── 第6章
│ │ ├── fcntl_access
│ │ ├── fcntl_access.c
│ │ ├── fcntl_lock
│ │ ├── fcntl_lock.c
│ │ ├── ioctl_net
│ │ ├── ioctl_net.c
│ │ ├── Makefile
│ │ ├── my_cd
│ │ ├── my_cd.c
│ │ ├── my_chmod
│ │ ├── my_chmod.c
│ │ ├── my_chomod
│ │ ├── my_chomod.c
│ │ ├── my_create
│ │ ├── my_create.c
│ │ ├── my_ls
│ │ ├── my_ls.c
│ │ ├── my_mv
│ │ ├── my_mv.c
│ │ ├── my_rwl
│ │ ├── my_rwl.c
│ │ ├── show_files
│ │ ├── show_files.c
│ │ ├── test_umask
│ │ ├── test_umask.c
│ │ ├── unlink_temp
│ │ └── unlink_temp.c
│ ├── 第7章
│ │ ├── daemon
│ │ ├── daemon.c
│ │ ├── diffork
│ │ ├── diffork.c
│ │ ├── env
│ │ ├── env.c
│ │ ├── execve
│ │ ├── execve.c
│ │ ├── fork
│ │ ├── fork2
│ │ ├── fork2.c
│ │ ├── fork3
│ │ ├── fork3.c
│ │ ├── fork.c
│ │ ├── getpid
│ │ ├── getpid.c
│ │ ├── Makefile
│ │ ├── mynice
│ │ ├── mynice.c
│ │ ├── myshell
│ │ ├── myshell.c
│ │ ├── processimage
│ │ ├── processimage.c
│ │ ├── studyuid
│ │ ├── studyuid.c
│ │ ├── wait
│ │ └── wait.c
│ ├── 第8章
│ │ ├── checkerrno
│ │ ├── checkerrno.c
│ │ ├── condition
│ │ ├── condition.c
│ │ ├── createthread
│ │ ├── createthread.c
│ │ ├── errshow
│ │ ├── errshow.c
│ │ ├── jointhread
│ │ ├── jointhread.c
│ │ ├── Makefile
│ │ ├── oncerun
│ │ ├── oncerun.c
│ │ ├── threaddata
│ │ └── threaddata.c
│ └── 第9章
│ ├── Makefile
│ ├── my_kill
│ ├── my_kill.c
│ ├── my_sigaction
│ ├── my_sigaction.c
│ ├── my_signal
│ ├── my_signal.c
│ ├── recv_data_signo
│ ├── recv_data_signo.c
│ ├── right_return
│ ├── right_return.c
│ ├── send_data_signo
│ ├── send_data_signo.c
│ ├── sig_mask
│ ├── sig_mask.c
│ ├── sig_suspend
│ ├── sig_suspend.c
│ ├── simulate_ping
│ ├── simulate_ping.c
│ ├── test_setitimer
│ ├── test_setitimer.c
│ ├── wait_cycle
│ ├── wait_cycle.c
│ ├── wait_pause
│ ├── wait_pause.c
│ ├── wait_sigsuspend
│ ├── wait_sigsuspend.c
│ ├── wrong_return
│ └── wrong_return.c
├── Linux安装.doc
├── 附录一.doc
├── 附录三.doc
└── 附录二.doc
15 directories, 330 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论