目录 使用select实现TCP并发服务器 使用poll实现TCP客户端 UDP实现网络聊天室 服务器 ser.h main.c func_ser.c makefile 客户端 cli.h main.c func_cli.c makfile 思维导图 使用select实现TCP并发服务器 #include int main(int argc, const char *argv[]) { //创建套接字 int sfd=Socket(AF_INET,SOCK_STREAM,0); if(sfd