VS2017使用inet_ntoa()產生錯誤的解決方法

在新版本VS(2013以上)使用C++進行編碼開發,使用inet_ntoa()時,會出現報錯: error C4996: ‘inet_ntoa’: Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings 爲了解決這個問題,可以
相關文章
相關標籤/搜索