摘要: 1. 常用函数#include //open a directory//failed-NULL, other-return a DIR streamDIR *opendir (const char* path_name);//close the directory stream//0 succeed... 阅读全文
posted @ 2013-11-21 17:33 春文秋武 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 一个比较实用的连接函数,支持host为域名。#include #include #include #include #include #include #include #include using namespace std;int my_connect(const char *host, int... 阅读全文
posted @ 2013-11-21 14:39 春文秋武 阅读(202) 评论(0) 推荐(0) 编辑