# tcpserver **Repository Path**: lightming7/tcpserver ## Basic Information - **Project Name**: tcpserver - **Description**: An epoll/IOCP tcp server. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-01-29 - **Last Updated**: 2023-04-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: epoll, iocp ## README # TcpServer An epoll/IOCP tcp server. o. single thread accept and read o. thread pool handle clients on_connect/on_data/on_disconnect callbacks ## build linux ``` mkdir -p build cd build cmake .. make ``` ## build win32 ``` #call visual studio vcvars64.bat mkdir -p build cd build cmake .. msbuild test.sln /p:Configuration=Release ``` ## test linux ``` ./test echo hello | nc 0 6666 ```