发布时间:2012-12-31 11:22:30
#------ 5个元件接收头部OK, 可以看到 root . Content-Length: 1495【Receive from 192.168.1.1 : 34118】:uh_http_header_recv: uh_tcp_peek, buflen = 4095, rlen = 2019, POST /bsedit/test.cgi HTTP/1.1Host: 192.168.1.1User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0Accept: tex......【阅读全文】
发布时间:2012-12-31 10:17:01
#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h> //read/write/closeint open(const char *path, int access,int mode) path 要打开的文件路径和名称 &nb......【阅读全文】
发布时间:2012-12-24 14:23:53
#固件生成命令make image PROFILE=TLWR703 PACKAGES="luci librt libpthread libjpeg kmod-nls-utf8 kmod-fs-vfat kmod-i2c-core kmod-input-core kmod-usb-ohci kmod-usb-storage kmod-usb-storage-extras kmod-usb-uhci kmod-video-core kmod-video-uvc mjpg-streamer kmod-usb-hid kmod-hid kmod-input-evdev block-mount kmod......【阅读全文】
发布时间:2012-12-21 20:42:48
//--- Makefile范本, 简洁CC = gccCFLAGS += -Wall -gOBJ := smtpclient.o xucommon.o owtest.o xuudp.oworld: compile%.o: %.c $(CC) $(CFLAGS) -c -o $@ $<xucommon.o: $(CC) $(CFLAGS) -c ../xucommon/xucommon.cxuudp.o: $(CC) $(CFLAGS) -c ../xucommon/xuudp.ccompile: $(OBJ) $(CC) $(CFLAGS) -o smtptest $(OBJ)clea......【阅读全文】