-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: I9c3b0e463563e0889843e89f2f0572da24f2c10a
- Loading branch information
lishuai
committed
Jul 19, 2018
0 parents
commit 439dc52
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# 目的 | ||
熟悉基础的网络编程;熟悉 `HTTP` 协议;熟悉 `WebServer`;熟悉 `Linux` 环境编程; | ||
|
||
# 要求 | ||
语言:`C语言`(`gcc`) | ||
|
||
环境:`Linux` | ||
|
||
*** | ||
|
||
# part1 | ||
## 要求 | ||
* 实现一个简单的基于`tcp`的`WebServer`; | ||
* 需要有`Makefile`,在代码仓库下,直接执行`make`可以生成一个可执行程序`server`; | ||
* 命令行参数`./server <root-path> <port>`; | ||
* 支持`html`、`css`、`javascript`、`image/jpeg`,设置合理的`minetype`; | ||
* 使用`多进程`实现并发; |