摘要: 1.字符串转32bit网络字节序 inet_aton函数 int inet_aton(const char *cp, struct in_addr *inp); cp指向字符串,支持如下格式: - a.b.c.d //192.168.9.1 0xC0.0xA8.011.1 - a.b.c //192 阅读全文
posted @ 2025-08-12 11:49 宏浪 阅读(12) 评论(0) 推荐(0)