摘要:        
1、安装libevent Linux上使用如下命令安装 sudo apt-get install libevent-dev 或者是源码安装 http://libevent.org/ #在当前目录下解压安装包:tar -zxvf libevent-2.0.22-stable.tzr.gz cd lib    阅读全文
posted @ 2022-06-06 21:23
mengchao
阅读(1377)
评论(0)
推荐(1)
        
            
        
        
摘要:        
服务端 socket->bind->listen->accept #include <iostream>#include <sys/socket.h>#include <sys/types.h>#include <string.h>#include <arpa/inet.h>#include <un    阅读全文
posted @ 2022-06-06 20:37
mengchao
阅读(47)
评论(0)
推荐(0)
        

 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号