tcp socket 客户端重连机制
在Linux下编程使用socket 客户端连接服务器时发现一个问题 有网友测试 (1)客户端已经连接,当服务端关闭程序时,客户端调用send函数发送失败,WSAGetLastE...
linux 下ping通网络的代码
已经试验确认无误。 #include<stdio.h> #include <stdio.h> #include <fcntl.h> #include <string.h&...
在Linux下编程使用socket 客户端连接服务器时发现一个问题 有网友测试 (1)客户端已经连接,当服务端关闭程序时,客户端调用send函数发送失败,WSAGetLastE...
已经试验确认无误。 #include<stdio.h> #include <stdio.h> #include <fcntl.h> #include <string.h&...