摘要: 原文网址:https://www.jianshu.com/p/7c7fe00d01b1 TCP - C语言实现详解 chiwin关注 2020.06.09 17:17:46字数 616阅读 589 tcp-三次握手-四次挥手.jpg 【一】服务端 1、创建一个socket,拿到tcp的一个文件描述符 阅读全文
posted @ 2022-08-07 23:36 MaxBruce 阅读(615) 评论(0) 推荐(1)
摘要: 原文网址:https://www.jianshu.com/p/7fd9989fad19 1.源码实现 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/socket 阅读全文
posted @ 2022-08-07 23:34 MaxBruce 阅读(878) 评论(0) 推荐(0)
摘要: 原文网址:https://www.yisu.com/zixun/677737.html 一、查看 nginx 安装目录 ps -ef | grep nginx 二、查看配置文件 nginx.conf 路径 nginx -t 这条命令也可以用于检查配置文件是否正确。 当然也可以使用 find 命令进行 阅读全文
posted @ 2022-08-07 16:18 MaxBruce 阅读(15724) 评论(0) 推荐(0)