摘要:
查找find void test(){ string str = "1234567890123456123"; string str2 = "123"; //find:第一次遇到匹配的位置, 则查找结束 size_t pos = str.find("123"); //0 pos = str.find
阅读全文
posted @ 2021-05-14 16:49
阿鑫来了
阅读(35)
推荐(0)
摘要:
IP地址: 一台主机在网络中的标识 IPv4: uint32_t 类型的整数(32位无符号类型的整数) -- IP地址数据类型 每一个网络中的数据都会带有两条信息: 源端IP地址; 对端IP地址 端口: 网络通信中一台主机上进程的标识符 (uint16_t 类型的整数 范围0~65535) 每一个网
阅读全文
posted @ 2021-05-14 11:49
阿鑫来了
阅读(65)
推荐(0)