CString截取ip:port,代码如下:CString strIpPort = "127.0.0.1:8888";CString strIp, strPort;int index = strIpPort.Find('...
-
-
例如截取ip:port,代码如下:std::string ip("127.0.0.1:8888");int index = ip.find_last_of(':'); ipip.substr(0, index)....
2016-06-07 11:07:08