别问我为什么要用原始套接字做服务器。说多了都是眼泪。8G内存的机器,最大CPU利用率可以到42左右。最高发包速度可以到200M+。
原始套接字并发服务器
#include <stdio.h>
#include <stdlib.h>
#include <string.h&g...
4-08 1,366PVs
阅读全文 04-08 1,366PVs
阅读全文 04-08 1,588PVs
阅读全文 27-09 11,110PVs
阅读全文 226-15 1,864PVs
阅读全文 26-03 2,083PVs
阅读全文 46-03 2,505PVs
阅读全文 411-28 1,437PVs
阅读全文 011-25 1,501PVs