摘要:
bool isVaildIp(const char *ip) { int dots = 0; /*字符.的个数*/ int setions = 0; /*ip每一部分总和(0-255)*/ if (NULL == ip || *ip == '.') { /*排除输入参数为NULL, 或者一个字符为' 阅读全文
posted @ 2020-02-21 12:03 PorkerFace 阅读(438) 评论(0) 推荐(0)
|
摘要:
bool isVaildIp(const char *ip) { int dots = 0; /*字符.的个数*/ int setions = 0; /*ip每一部分总和(0-255)*/ if (NULL == ip || *ip == '.') { /*排除输入参数为NULL, 或者一个字符为' 阅读全文
posted @ 2020-02-21 12:03 PorkerFace 阅读(438) 评论(0) 推荐(0) |
||