Socket
Contents
service端代码

Client端代码


执行服务端以及客户端
- g++ service.c -o test1.out
- ./test1.out
-
- g++ client.c -o test2.out
- ./test2.out
-
将代码上传到git仓库中
- Service:
-
git add service.c
-
git commit -m “socket_service”
-
Client:
-
git add client.c
-
git commit -m “socket_client”