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])
180 /* On systems on which getaddrinfo() is believed to not be thread-safe,
181 (this includes the getaddrinfo emulation) protect access with a lock. */
327 /* On OS X, getaddrinfo returns no error indication of lookup
351 #define getaddrinfo fake_getaddrinfo
354 #include "getaddrinfo.c"
580 v = Py_BuildValue("(is)", error, "getaddrinfo failed");
766 thread to be in gethostbyname or getaddrinfo */
795 error = getaddrinfo(NULL, "0", &hints, &res);
797 /* We assume that those thread-unsafe getaddrinfo() versions
799 subsequent call to getaddrinfo() does not destroy the
867 error = getaddrinfo(name, NULL, &hints, &res);
873 error = getaddrinfo(name, NULL, &hints, &res);
4051 /* Python interface to getaddrinfo(host, port). */
4071 if (!PyArg_ParseTuple(args, "OO|iiii:getaddrinfo",
4087 "getaddrinfo() argument 1 must be string or None");
4108 error = getaddrinfo(hptr, pptr, &hints, &res0);
4149 "getaddrinfo(host, port [, family, socktype, proto, flags])\n\
4186 error = getaddrinfo(hostp, pbuf, &hints, &res);
4333 {"getaddrinfo", socket_getaddrinfo,