摘要: POSIX--PortableOperatingSystemInterface for Unix 一套UNIX操作系统兼容性API接口POSIX-2008详细内容参见:http://pubs.opengroup.org/onlinepubs/9699919799/functions/contents.html这里比较关注里面有socket一章,Berkeley的POSIX版本在此有详细的说明,很有价值 阅读全文
posted @ 2011-04-24 16:44 OYJJ 阅读(209) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>#include <stdlib.h>#include <malloc.h>#include <string.h>typedef struct tagXDate{ int year; int month; int day;}XDate;bool GetCompileDate(XDate* date){ bool succeed=true; char* complieDate=(char*)malloc(strlen(__DATE__)+1); strcpy_s(complieDate,strlen(__DATE 阅读全文
posted @ 2011-04-24 16:26 OYJJ 阅读(655) 评论(0) 推荐(0) 编辑
摘要: http://filezilla-project.org/download.php?type=client这里可以下到一个3.4.0的源码解压后里面会有一个src/interface文件夹,里面有interface工程,使用此工程进行编译。注意这里直接编译的话是编译不过的,会有很多错误,因为filezilla工程依赖其他一些项目:可以用记事本打开build文件看一下FileZilladepends on the following libraries:- wxWidgets 2.8.9or greater- libidn- GnuTLS 2.8.3or greater- libdbus on* 阅读全文
posted @ 2011-04-24 13:41 OYJJ 阅读(1685) 评论(0) 推荐(0) 编辑