LINUX C/S
After0514
这个作者很懒,什么都没留下…
展开
-
C/S
client.c#include#include#include#include#include#include#include#include#include#include#include#include#include#include#include#include#include#include#include原创 2016-11-06 15:37:11 · 214 阅读 · 0 评论 -
多路IOepoll模型
server.c#include<errno.h>#include<semaphore.h>#include<string.h>#include<sys/stat.h>#include<fcntl.h>#include<errno.h>#include<stdlib.h>#include<unistd.h>#include<stdio.h>#include<sys/mman.h>原创 2016-11-06 15:57:18 · 180 阅读 · 0 评论 -
TCP C/S 多线程模型
client.c#include<errno.h>#include<semaphore.h>#include<string.h>#include<sys/stat.h>#include<fcntl.h>#include<errno.h>#include<stdlib.h>#include<unistd.h>#include<stdio.h>#include<sys/mman.h>原创 2016-11-06 15:54:56 · 466 阅读 · 0 评论 -
TCP C/S 多进程模型
#include<errno.h>#include<semaphore.h>#include<string.h>#include<sys/stat.h>#include<fcntl.h>#include<errno.h>#include<stdlib.h>#include<unistd.h>#include<stdio.h>#include<sys/mman.h>#include原创 2016-11-06 15:53:22 · 333 阅读 · 0 评论 -
多路IOpoll模型
server.c#include<errno.h>#include<semaphore.h>#include<string.h>#include<sys/stat.h>#include<fcntl.h>#include<errno.h>#include<stdlib.h>#include<unistd.h>#include<stdio.h>#include<sys/mman.h>原创 2016-11-06 16:03:18 · 207 阅读 · 0 评论 -
多路IOselect模型
server.c#include<errno.h>#include<semaphore.h>#include<string.h>#include<sys/stat.h>#include<fcntl.h>#include<errno.h>#include<stdlib.h>#include<unistd.h>#include<stdio.h>#include<sys/mman.h>原创 2016-11-06 16:04:23 · 210 阅读 · 0 评论 -
本地套接字domain通信
client.c#include<errno.h>#include<semaphore.h>#include<string.h>#include<sys/stat.h>#include<fcntl.h>#include<errno.h>#include<stdlib.h>#include<unistd.h>#include<stdio.h>#include<sys/mman.h>原创 2016-11-06 16:07:43 · 328 阅读 · 0 评论 -
UDP 多播服务模型
server.c#include<errno.h>#include<semaphore.h>#include<string.h>#include<sys/stat.h>#include<fcntl.h>#include<errno.h>#include<stdlib.h>#include<unistd.h>#include<stdio.h>#include<sys/mman.h>原创 2016-11-06 16:05:45 · 271 阅读 · 0 评论