摘要:
int __ns8__GetNTP(struct soap* soap, struct _ns8__GetNTP *ns8__GetNTP, struct _ns8__GetNTPResponse *ns8__GetNTPResponse) { printf("%s\n",__FUNCTION__); readIPaddr(); //read NTP configuration struct ns3__NTPInformation *pNTPInformation; pNTPInformation=(struct n... 阅读全文
posted @ 2012-03-23 15:49
qingjoin
阅读(552)
评论(0)
推荐(0)
摘要:
#include <stdio.h>int is_valid_ip(const char *ip) { int section = 0; //每一节的十进制值 int dot = 0; //几个点分隔符 int last = -1; //每一节中上一个字符 while(*ip) { if(*ip == '.') { dot++; if(dot > 3) { return 0; } ... 阅读全文
posted @ 2012-03-23 11:36
qingjoin
阅读(9217)
评论(1)
推荐(0)

浙公网安备 33010602011771号