try gethostbyname()
WSADATA wsa;
struct hostent *g_hostent;
struct in_addr MyAddr;
char IPnumber[100][100];
WSAStartup(MAKEWORD(2,2),&wsa);
Type: Posts; User: maes
try gethostbyname()
WSADATA wsa;
struct hostent *g_hostent;
struct in_addr MyAddr;
char IPnumber[100][100];
WSAStartup(MAKEWORD(2,2),&wsa);