Home | History | Annotate | Download | only in Modules

Lines Matching defs:getaddrinfo

19 - socket.gaierror: exception raised for getaddrinfo/getnameinfo errors,

37 - socket.getaddrinfo(host, port [, family, socktype, proto, flags])
185 /* On systems on which getaddrinfo() is believed to not be thread-safe,
186 (this includes the getaddrinfo emulation) protect access with a lock. */
332 /* On OS X, getaddrinfo returns no error indication of lookup
356 #define getaddrinfo fake_getaddrinfo
359 #include "getaddrinfo.c"
592 v = Py_BuildValue("(is)", error, "getaddrinfo failed");
824 thread to be in gethostbyname or getaddrinfo */
853 error = getaddrinfo(NULL, "0", &hints, &res);
855 /* We assume that those thread-unsafe getaddrinfo() versions
857 subsequent call to getaddrinfo() does not destroy the
925 error = getaddrinfo(name, NULL, &hints, &res);
931 error = getaddrinfo(name, NULL, &hints, &res);
4133 /* Python interface to getaddrinfo(host, port). */
4153 if (!PyArg_ParseTuple(args, "OO|iiii:getaddrinfo",
4169 "getaddrinfo() argument 1 must be string or None");
4184 "getaddrinfo() argument 2 must be integer or string");
4189 /* On OSX upto at least OSX 10.8 getaddrinfo crashes
4203 error = getaddrinfo(hptr, pptr, &hints, &res0);
4245 "getaddrinfo(host, port [, family, socktype, proto, flags])\n\
4288 error = getaddrinfo(hostp, pbuf, &hints, &res);
4435 {"getaddrinfo", socket_getaddrinfo,