文件名称:LAN-share-file-software
- 所属分类:
- Internet/网络编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-12-17
- 文件大小:
- 13kb
- 下载次数:
- 0次
- 提 供 者:
- le***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本软件为linux环境下对tcp/IP网络编程的课程设计。实现功能是:获取局域网内所有电脑的共享文件信息,并能从指定电脑多线程下载文件。并可以实现断点续传等功能。通过本课程设计熟悉了linux编程和网络编程,加深了对TCP/IP的了解。
主要工作:写了一个前台和用户交互的程序,写了一个后台和其他电脑通信的守护程序。前台负责发送命令到后台,并接收后台返回的信息。后台用消息队列和前台通信,并向远程客户端提供服务。用到主要编程技术有:多线程、多进程、消息队列、信号量、管道、FIFO、存储映射IO、多缓冲、守护进程、广播、单播、TCP、UDP等。
-The software for the linux environment tcp/IP network programming curriculum design. Functionality: access to all computers within the LAN to share files and download files from the specified computer multithreaded. HTTP and other functions can be achieved. Familiar with Linux programming and network programming This course is designed to deepen the understanding of TCP/IP. Main tasks: to write a foreground program and user interaction, and wrote a background and other computer communications daemon. The front desk is responsible for sending commands to the background, and receive background information returned. Background with a message queue and the front communications to the remote client service. Used programming techniques: multi-threaded, multi-process, message queues, semaphores, pipes, the FIFO memory-mapped IO, multi-buffering, the guardian of the process, broadcast, unicast, TCP, UDP, etc..
主要工作:写了一个前台和用户交互的程序,写了一个后台和其他电脑通信的守护程序。前台负责发送命令到后台,并接收后台返回的信息。后台用消息队列和前台通信,并向远程客户端提供服务。用到主要编程技术有:多线程、多进程、消息队列、信号量、管道、FIFO、存储映射IO、多缓冲、守护进程、广播、单播、TCP、UDP等。
-The software for the linux environment tcp/IP network programming curriculum design. Functionality: access to all computers within the LAN to share files and download files from the specified computer multithreaded. HTTP and other functions can be achieved. Familiar with Linux programming and network programming This course is designed to deepen the understanding of TCP/IP. Main tasks: to write a foreground program and user interaction, and wrote a background and other computer communications daemon. The front desk is responsible for sending commands to the background, and receive background information returned. Background with a message queue and the front communications to the remote client service. Used programming techniques: multi-threaded, multi-process, message queues, semaphores, pipes, the FIFO memory-mapped IO, multi-buffering, the guardian of the process, broadcast, unicast, TCP, UDP, etc..
(系统自动生成,下载前可以参看下载内容)
下载文件列表
局域网共享文件代码\share.h
..................\shareback.c
..................\sharefront.c
局域网共享文件代码