- 博客(1)
- 收藏
- 关注
转载 利用消息队列实现简单的聊天室功能
发送端: //server.cc #include <sys/ipc.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <stdio.h> #include <stdlib.h> #include <sys/msg.h> struct msgbuf1 { long mtype;//消息类型 char mt...
2021-11-03 20:32:53
812
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人