Posted on 2004-09-05
Here is my code:
addrhints.ai_family = AF_INET;
addrhints.ai_socktype = SOCK_STREAM;
addrhints.ai_protocol = IPPROTO_TCP;
pres = 0;
retVal = getaddrinfo(szHost,"80",&addrhints,&pres);
szHost is equal to "bithub.com". getaddrinfo() is returning 11003 which is WSANO_RECOVERY. Does anyone know what I'm doing wrong that is causing the error?