sockaddr_in 转成string

string strAcceptIp = inet_ntoa(remoteAddr.sin_addr);

原文地址:https://www.cnblogs.com/132818Creator/p/11851486.html