Top "Getaddrinfo" questions

`getaddrinfo(3)` provides network address and service translation.

IPv6 address to domain name

I'm searching for a function that take an IPv6 address as argument and returns the domain name. To make it …

c networking network-programming ipv6 getaddrinfo
How to use getaddrinfo()?

Im trying to make a simple program that takes in a string like www.google.com and returns the ip …

winsock winsock2 getaddrinfo
getaddrinfo() function returns the wrong IP address

I am trying to resolve a URL's IP address using getaddrinfo(), but it always returns the wrong IP address, I …

c sockets ip ip-address getaddrinfo
Node.js http.request fails with [Error: getaddrinfo EADDRINFO]

I have node.js server which acts like a proxy. It receives requests and forwards them to web service on …

node.js httprequest getaddrinfo
getting Error: getaddrinfo ENOTFOUND while performing rest api call in node.js using http.request

i have created api in node.js which consume set of api hosted at http://dev.abc.co.in:20081 not …

node.js api http dns getaddrinfo
How to use getaddrinfo() on windows

I'm trying to build my APP with mingw+msys. My code usee winsock. When I compile it I take following …

c compilation winsock getaddrinfo
getaddrinfo: nodename nor servname provided, or not known (SocketError)

I'm developing a Shopify theme and I'm using https://github.com/Shopify/shopify_theme to update my files into Shopify. …

gem themes shopify getaddrinfo
getaddrinfo error: ai_socktype not supported

struct addrinfo *myAddrinfo, *curMyAddrinfo, hint; memset(&hint, 0, sizeof(struct addrinfo)); hint.ai_family = AF_INET; hint.ai_protocol = AI_…

c sockets network-programming getaddrinfo
Implicit declaration of function 'getaddrinfo' on MinGW

I have a C program that uses getaddrinfo(). It works as expected on Linux and Mac OS X. I'm in …

c winapi mingw winsock2 getaddrinfo
Usage of getaddrinfo() with AI_PASSIVE

The getaddrinfo() function not only allows for client programs to efficiently find the correct data for creating a socket to …

sockets serversocket getaddrinfo