Lines Matching defs:connect
139 connect(addr) -- connect the socket to a remote address\n\
140 connect_ex(addr) -- connect, return an error code instead of an exception\n\
729 int connect)
744 assert(!(connect && !writing));
755 if (connect) {
792 if (connect) {
842 int connect,
857 /* For connect(), poll even for blocking socket. The connection
859 if (has_timeout || connect) {
874 res = internal_select(s, writing, interval, connect);
881 res = internal_select(s, writing, timeout, connect);
1313 suitable for passing it back to bind(), connect() etc.
3251 res = connect(s->sock_fd, addr, addrlen);
3255 /* connect() succeeded, the socket is connected */
3259 /* connect() failed */
3267 /* Issue #23618: when connect() fails with EINTR, the connection is
3296 /* socket.connect() raises an exception on error */
3310 /* s.connect(sockaddr) method */
3319 if (!getsockaddrarg(s, addro, &addrbuf, &addrlen, "connect")) {
3323 if (PySys_Audit("socket.connect", "OO", s, addro) < 0) {
3335 "connect(address)\n\
3354 if (PySys_Audit("socket.connect", "OO", s, addro) < 0) {
3368 This is like connect(address), but returns an error code (the errno value)\n\
4968 {"connect", (PyCFunction)sock_connect, METH_O,