[置顶] 工具

摘要: 画ASCII图工具 ASCIIFlow https://textik.com 使用 Graph Easy 绘制 ASCII 图 - 简书 (jianshu.com) 纯a56爆大奖在线娱乐流程图软件 - ioDraw http://patorjk.com/ https://www.degraeve.com/ Cha 阅读全文
posted @ 2023-10-13 11:05 开源侠 阅读(15) 评论(0) 推荐(0) 编辑

[置顶] BGP学习网站和参考资料

摘要: BGP — VyOS 1.3.x (equuleus) documentation 协议地图 - IP报文格式大全(html) - 华为 (huawei.com) 思科相关 Protocol Registries (iana.org) IP 路由 - 故障排除技术说明 - Cisco Cisco B 阅读全文
posted @ 2023-05-10 19:55 开源侠 阅读(13) 评论(0) 推荐(0) 编辑
2024年6月12日

dark1130_theme.xml sourceinsight 主题

摘要: <ThemeList> <Theme Name="dark1130" > <DisplayColors> <Item Name="DefaultText" Color="#e0e0e0" /> <Item Name="WindowBackground" Color="#001515" /> <Ite 阅读全文
posted @ 2024-06-12 15:15 开源侠 阅读(3) 评论(0) 推荐(0) 编辑

不同存储类型所占空间

摘要: 类型 16位平台 32位平台 64位平台 char 1个字节 1个字节 1个字节 short 2个字节 2个字节 2个字节 int 2个字节 4个字节 4个字节 unsigned int 2个字节 4个字节 4个字节 float 4个字节 4个字节 4个字节 double 8个字节 8个字节 8个字 阅读全文
posted @ 2024-06-12 14:55 开源侠 阅读(3) 评论(0) 推荐(0) 编辑
2024年1月31日

好问题,好答案

摘要: c语言中的sizeof()是如何分辨数组名和指针的? - 醉卧沙场的回答 - 知乎 https://www.zhihu.com/question/464844221/answer/1940453834 阅读全文
posted @ 2024-01-31 14:05 开源侠 阅读(1) 评论(0) 推荐(0) 编辑
2024年1月30日

代办

摘要: https://www.jb51.net/books/500784.html 一个报文的路由器之旅 中文PDF版 2.89MB 7 协议报文之旅 阅读全文
posted @ 2024-01-30 15:04 开源侠 阅读(1) 评论(0) 推荐(0) 编辑
2023年12月19日

C语言实现TCP CS模型代码,客户端服务器

摘要: 服务端将接受客户端发送的数据并将其转换成大写形式,然后再发送给客户端,客户端将发送一个字符串给服务器,并显示来自服务器的响应内容。 服务器 点击查看代码 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/ 阅读全文
posted @ 2023-12-19 16:31 开源侠 阅读(20) 评论(0) 推荐(0) 编辑
2023年12月15日

两个线程共享一个套接字,其中一个线程使用sendmsg函数不断发送消息到该套接字,另一个线程使用recvmsg函数不断接收该套接字的消息,并打印出来的功能

摘要: 以下是使用C语言写的一段代码,实现两个线程共享一个套接字,其中一个线程使用sendmsg函数不断发送消息到该套接字,另一个线程使用recvmsg函数不断接收该套接字的消息,并打印出来的功能 点击查看代码 #include <stdio.h> #include <stdlib.h> #include 阅读全文
posted @ 2023-12-15 10:52 开源侠 阅读(25) 评论(0) 推荐(0) 编辑
2023年12月14日

计算机网络基本协议总结

摘要: 网络通信协议大图 http://www.colasoft.com.cn/download/network-protocol-map-2020.pdf IP报文格式大全(html) https://support.huawei.com/enterprise/zh/doc/EDOC1100174722/ 阅读全文
posted @ 2023-12-14 16:33 开源侠 阅读(4) 评论(0) 推荐(0) 编辑

二三层交换机原理

摘要: https://mp.weixin.qq.com/s/jiPMUk6zUdOY6eKxAjNDbQ 阅读全文
posted @ 2023-12-14 16:17 开源侠 阅读(5) 评论(0) 推荐(0) 编辑
2023年12月13日

内存池的处理

摘要: pool->sector->blocks pool is organized as sectors , and new sectors ared added when there is more blocks needed. mem_block_creat_pool(zg, blk_size , n 阅读全文
posted @ 2023-12-13 17:11 开源侠 阅读(6) 评论(0) 推荐(0) 编辑

隐藏在C语言里面的奇技淫巧

摘要: 隐藏在C语言里面的奇技淫巧 对齐到最近的8的倍数。 这个表达式 (size + 7) & ~(7) 是一个常见的位操作技巧,用于将 size 向上对齐到最近的8的倍数。 ~(7):首先,7 的二进制a56爆大奖在线娱乐是 0111。按位取反 ~ 操作会将所有的1变为0,所有的0变为1,a56爆大奖在线娱乐 ~(7) 就是 1... 阅读全文
posted @ 2023-12-13 16:46 开源侠 阅读(12) 评论(0) 推荐(0) 编辑