# TCP多线程聊天室 **Repository Path**: trff/tcp-multi-threaded-chat-room ## Basic Information - **Project Name**: TCP多线程聊天室 - **Description**: TCP多线程聊天室 Linux系统+C语言实现 - **Primary Language**: C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-25 - **Last Updated**: 2024-07-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TCP多线程聊天室 #### 介绍 TCP多线程聊天室 Linux系统+C语言实现 #### 软件架构 Ubuntu 16.04 #### 使用说明 network部署到共享库: 1. gcc -fpic -c network.c 2. gcc -shared -fpic network.o -o libnw.so 3. sudo cp libnw.so /user/lib 4.sudo cp network.h user/include/ 代码编译: `gcc server.c threadpool.c queue.c -o server -pthread -lnw ` `gcc client.c -o client -pthread -lnw` 代码运行: `./server 127.0.0.1 10044` `./client 127.0.0.1 10044`