Me salen los siguientes errores de compilacion
SinNombre1.cpp:(.text+0x121):
undefined reference to `__imp_getaddrinfo'
SinNombre1.cpp:(.text+0x263):
undefined reference to `__imp_freeaddrinfo'
SinNombre1.cpp [Warning] deprecated
conversion from string constant to 'char*' [-Wwrite-strings]