windows下inet_ntop报错
下面的连接有,实际在QT中用MinGW构建却报错没有,于是用WSAAddressToStringA来实现inet_ntop function (ws2tcpip.h)inet_ntop function (ws2tcpip.h) - Win32 apps | Microsoft DocsPCSTR WSAAPI inet_ntop(INT Family,const VOID *pAddr,PSTR pStringBuf, size_t StringBufSize){ if(pSt..