error C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
If you meet this error message
"error C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings"
Add this code first line on the code.
#define _WINSOCK_DEPRECATED_NO_WARNINGS
Then we can avoid.
"error C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings"
Add this code first line on the code.
#define _WINSOCK_DEPRECATED_NO_WARNINGS
Then we can avoid.