C语言实现最基本的回射服务器与客户端(服务器用TCP协议回射客户发来的消息)
摘要:话不多说,直接上干货,下面两个程序都是linux程序。 server.c完整代码: #include <stdio.h>#include <string.h>#include <unistd.h>#include <netinet/in.h>#include <arpa/inet.h>#includ
阅读全文
posted @ 2016-05-02 12:47