|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/design-multithreaded-http-web-server/
课程评论:没有评论
课程名称:C++多线程Web服务器设计(Socket编程) 课程概述:本课程将指导学生在Linux环境下使用C++进行Socket编程,设计一个多线程的HTTP Web服务器。通过本课程的学习,学生将深入了解系统编程,并掌握以下内容:1. 如何在C++中处理客户端的文件请求;2. 如何实现服务器的多重请求接收及并发连接处理,使用C++中的多线程技术;3. 上传文件的接收、组装和存储,以及如何将请求的文件返回给客户端;4. 服务器如何接收请求并区分不同类型的请求(GET、POST);5. 如何在服务器中获取和存储GET数据、POST数据和Cookies;6. 学习如何使用POSIX线程进行多线程编程,以及如何使用信号量在C++中实现锁;7. 理解Web服务器、聊天服务器与其他类型服务器之间的区别;8. 实现网络库函数如accept()、bind()、listen()、socket()的使用;9. 如何利用inet_ntop()函数访问客户端的IP地址;10. 学习在Linux中如何使用系统调用,特别是OPEN系统调用;11. 学习文件处理,在Linux中创建、读取、写入、接收和发送文件。 通过这一系列的实践和理论学习,学生将能够掌握构建高效能Web服务器所需的技能和知识。
In this course we will design a multi-threaded HTTP web server in C++ using socket programming in Linux.at the end of this course the student will have a good grasp of system programming and also:1. how HTTP web server processes file request from clients in c++.2. How the server can handle multiple accept request and concurrent connections using multi-threading in c++. 3. How uploaded files are received , assembled and stored on the server and how the server sends requested file back to the client in c++.4. how the server receives request and differentiates the different types of request (GET, POST) in c++5. how to fetch and store GET DATA, POST DATA and COOKIES on the server in c++.6. You also learn about multi-threading using POSIX thread and how semaphores are used to apply lock in c++.7. the difference between a web server , chat server, and other types of servers in c++. 8. How to implement networking library functions like accept(), bind(), listen(), socket() in c++9. How the server accesses IP address of the client using the inet_ntop() function in c++. 10. Learn System programming- how to use system calls in Linux, here we used the OPEN system call in c++. 11. Learn System programming- File handling , how to create, read, write , receive and send files in Linux in c++.