# socketCommunication **Repository Path**: showmsg/socket-communication ## Basic Information - **Project Name**: socketCommunication - **Description**: 基于socket开发的服务端和客户端交流项目 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-12-31 - **Last Updated**: 2024-12-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ###编译指令 g++ server.cpp -lpthread -o server ./server g++ client.cpp -lpthread -o client ./client 0.0.0.0 9221 上传文件(采用pasv模式)、文件下载(采用put模式) 下载文件示例: - download static/server.txt static/ - download static/server.txt 上传文件示例: - upload static/client.txt static/ - upload static/client.txt