Lines Matching refs:socket_error
466 static PyObject *socket_error; variable
501 PyErr_SetString(socket_error, "unable to select on socket"); in select_error()
528 return PyErr_SetExcFromWindowsErr(socket_error, err_no); in set_error()
559 PyErr_SetObject(socket_error, v); in set_error()
572 PyErr_SetObject(socket_error, v); in set_error()
579 return PyErr_SetFromErrno(socket_error); in set_error()
899 PyErr_SetString(socket_error, in setipaddr()
905 PyErr_SetString(socket_error, in setipaddr()
918 PyErr_SetString(socket_error, in setipaddr()
976 PyErr_SetString(socket_error, "unknown address family"); in setipaddr()
1025 PyErr_SetString(socket_error, "bad bluetooth address"); in setbdaddr()
1281 PyErr_SetString(socket_error, in getsockaddrarg()
1291 PyErr_SetString(socket_error, in getsockaddrarg()
1428 PyErr_SetString(socket_error, "getsockaddrarg: " in getsockaddrarg()
1447 PyErr_SetString(socket_error, "getsockaddrarg: " in getsockaddrarg()
1474 PyErr_SetString(socket_error, "getsockaddrarg: " in getsockaddrarg()
1492 PyErr_SetString(socket_error, "getsockaddrarg: " in getsockaddrarg()
1504 PyErr_SetString(socket_error, "getsockaddrarg: unknown Bluetooth protocol"); in getsockaddrarg()
1619 PyErr_SetString(socket_error, "getsockaddrarg: bad family"); in getsockaddrarg()
1686 PyErr_SetString(socket_error, "getsockaddrlen: " in getsockaddrlen()
1713 PyErr_SetString(socket_error, "getsockaddrlen: bad family"); in getsockaddrlen()
1955 PyErr_SetString(socket_error, "getsockopt not supported");
1979 PyErr_SetString(socket_error,
3337 PyErr_SetString(socket_error, "host not found");
3344 PyErr_SetString(socket_error,
3429 PyErr_SetString(socket_error,
3580 PyErr_SetString(socket_error, "unsupported address family");
3634 PyErr_SetString(socket_error, "service/proto not found");
3671 PyErr_SetString(socket_error, "port/proto not found");
3696 PyErr_SetString(socket_error, "getprotobyname not supported");
3705 PyErr_SetString(socket_error, "protocol not found");
3982 PyErr_SetString(socket_error,
4003 PyErr_SetString(socket_error,
4035 PyErr_SetString(socket_error,
4070 PyErr_SetString(socket_error,
4078 PyErr_SetFromErrno(socket_error);
4081 PyErr_SetString(socket_error,
4093 PyErr_SetString(socket_error, "unknown address family");
4145 PyErr_SetFromErrno(socket_error);
4208 PyErr_SetString(socket_error,
4321 PyErr_SetString(socket_error,
4329 PyErr_SetString(socket_error,
4616 socket_error = PyErr_NewException("socket.error",
4618 if (socket_error == NULL)
4620 PySocketModuleAPI.error = socket_error;
4621 Py_INCREF(socket_error);
4622 PyModule_AddObject(m, "error", socket_error);
4624 socket_error, NULL);
4629 socket_gaierror = PyErr_NewException("socket.gaierror", socket_error,
4636 socket_error, NULL);