发布时间:2012-12-17 11:56:26
Raw TCP/IP interface for lwIPAuthors: Adam Dunkels, Leon Woestenberg, Christiaan SimonslwIP provides three Application Program's Interfaces (APIs) for programsto use for communication with the TCP/IP code:* low-level "core" / "callback" or "raw" API.* higher-level "sequential" API.* BSD-style socket......【阅读全文】
发布时间:2012-12-14 11:52:25
表头文件: #include #include 定义函数: int stat(const char *file_name, struct stat *buf);函数说明: 通过文件名......【阅读全文】
发布时间:2012-12-13 09:15:17
/etc/init.d/uhttpd stopopkg install /xutest/uhttpd_31_ar71xx.ipkopkg install /xutest/uhttpd_xu1_ar71xx.ipk/etc/init.d/uhttpd enable/etc/init.d/uhttpd start【Receive from 192.168.1.1 : 47881】:uhttpd mainloop-->#192.168.1.1/xutest/web-cgi.html【Receive from 192.168.1.1 : 58907】:uh_http_header_parse--......【阅读全文】
发布时间:2012-12-12 19:15:08
----- 源码部分#define UH_LIMIT_MSGHEAD 4096 //文件最大长度#define array_size(x) (sizeof(x) / sizeof(x[0]))#define foreach_header(i, h) for( i = 0; (i + 1) < (sizeof(h) / sizeof(h[0])) && h[i]; i += 2 )#define fd_cloexec(fd) fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC)#define ensure_out(x) do......【阅读全文】
发布时间:2012-12-12 12:31:05
http://www.openwrt.org.cn/bbs/forum.php?mod=viewthread&tid=879原文地址:http://blog.3gcomet.com/article.asp?id=551详细了解mutt收发邮件,可以参考另外一篇文章:http://www.360doc.com/content/11/0530/22/419911_120592796.shtml1.安装mutt 和 msmtp# opkg update# opkg install mutt msmtp2.配置muttcat ./muttrc#如果发送中文乱码加上这个set charset="......【阅读全文】