I\'m interested in mathematics and Daoism. Welcome to talk about these subjects with me.
发布时间:2013-01-31 13:37:01
/* * return value: * 1: succ * 0: not * */static int is_valid_ip_addr(const char* ip){ const char* str = ip; int i = 0; int j = 0; int number = 0; int number_count = 0; if(str[0] == '.') return 0; while(ip[i] != '\0') {if (number_count == 4){ return.........【阅读全文】