摘要:
#include #include #include #include using namespace std;//插入排序void Insert_Sort(int arr[10],int len){ srand((unsigned)time(NULL)); int j; int ... 阅读全文
摘要:
转自 http://blog.csdn.net/kikilizhm/article/details/7858405这里给出在linux下的简单socket网络编程的实例,使用tcp协议进行通信,服务端进行监听,在收到客户端的连接后,发送数据给客户端;客户端在接受到数据后打印出来,然后关闭。程序里有详... 阅读全文