I\'m trying to include the following code in my program but the error (\'inet_pton\': identifier not found) will appeared.
// IPv4: struct sockaddr_in ip4a
To fix this problem just add the following to your code after all #includes
#pragma comment(lib, "ws2_32.lib")