会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ღ惟吾德馨ღ
博客园
首页
新随笔
新文章
联系
订阅
管理
上一页
1
2
3
4
2020年11月5日
debian系统搭建telnet服务器以及telnet远程登陆--加油
摘要: 1.安装软件 sudo apt-get install telnet* 2.创建telnet文件 vim /etc/xinetd.d/telnet telnet内容 1 service telnet 2 { 3 disable = no 4 flags = REUSE 5 socket_type =
阅读全文
posted @ 2020-11-05 19:08 ღ惟吾德馨ღ
阅读(934)
评论(0)
推荐(0)
2020年10月5日
想看。。。呜呜呜。。。待我卸甲归园时,观书老眼明如镜
摘要: << 半碗村传奇 >>
阅读全文
posted @ 2020-10-05 20:35 ღ惟吾德馨ღ
阅读(70)
评论(0)
推荐(0)
2020年9月25日
volatile关键字的作用-respect
摘要: volatile关键字的含义? volatile定义的变量可能会意外的改变,改变它的情况有很多(例如:操作系统,硬件,线程),编译就不会去假设这个值,也就是说每次访问这个变量时,系统就会小心翼翼的去从内存读取这个值,而不是简单的从寄存器中读取这个值。 作用:防止编译器对该变量进行优化。 举例: 1)
阅读全文
posted @ 2020-09-25 13:57 ღ惟吾德馨ღ
阅读(127)
评论(0)
推荐(0)
2020年9月23日
网络编程-UDP的服务器和客户端----keep on going never give up
摘要: 1 //**************************************服务器********************************************** 2 #include <stdio.h> 3 #include <stdlib.h> 4 #include <str
阅读全文
posted @ 2020-09-23 15:50 ღ惟吾德馨ღ
阅读(157)
评论(0)
推荐(0)
2020年9月22日
linux-TCP多线程的并发服务器- 以言责人甚易,以义持己实难!!!
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 #include <time.h> 5 #include <sys/types.h> /* See NOTES */ 6 #include <sys/socket.h
阅读全文
posted @ 2020-09-22 10:58 ღ惟吾德馨ღ
阅读(201)
评论(0)
推荐(0)
2020年9月21日
网络编程-谢谢自己,无所畏惧,从不放弃!!!
摘要: Internet历史: ①ARPAnet(阿帕网):采用网络控制协议(Network Control Protocol, NCP); 缺点 ? ②TCP协议:kahn和vinton cerf提出, 缺点 ? 从此产生TCP/IP协议, 网络体系架构: ①OSI模型 7层: 特点:模型本身通用,理想化
阅读全文
posted @ 2020-09-21 14:27 ღ惟吾德馨ღ
阅读(128)
评论(0)
推荐(0)
2020年9月20日
进程间IPC通信-stop waiting for thing to happen,go out and make them happen!!!
摘要: 进程间通信: System V IPC对象: ipcs -q:查看消息队列 ipcs -m:查看共享内存 ipcs -s:查看信号灯集 ipcrm -q:删除消息队列 ipcrm -m:删除共享内存 ipcrm -s:删除信号灯集 **:每一个IPC对象都有一个ID,可根据key值得到ID; key
阅读全文
posted @ 2020-09-20 21:56 ღ惟吾德馨ღ
阅读(153)
评论(0)
推荐(0)
上一页
1
2
3
4