Linux下基于C/C++的Socket编程实例

Socket编程实例编程    代码实例中的服务器经过socket链接向客户端发送字符串"Hello, you are connected!"。只要在服务器上运行该服务器软件,在客户端运行客户软件,客户端就会收到该字符串。数组    该服务器软件代码以下:服务器 #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <
相关文章
相关标签/搜索