| ... | ... | @@ -3966,6 +3966,7 @@ pub fn connect(sock: socket_t, sock_addr: *const sockaddr, len: socklen_t) Conne |
| 3966 | 3966 | .FAULT => unreachable, // The socket structure address is outside the user's address space. |
| 3967 | 3967 | .INTR => continue, |
| 3968 | 3968 | .ISCONN => unreachable, // The socket is already connected. |
| 3969 | .HOSTUNREACH => return error.NetworkUnreachable, |
| 3969 | 3970 | .NETUNREACH => return error.NetworkUnreachable, |
| 3970 | 3971 | .NOTSOCK => unreachable, // The file descriptor sockfd does not refer to a socket. |
| 3971 | 3972 | .PROTOTYPE => unreachable, // The socket type does not support the requested communications protocol. |
| ... | ... | @@ -3995,6 +3996,7 @@ pub fn getsockoptError(sockfd: fd_t) ConnectError!void { |
| 3995 | 3996 | .CONNREFUSED => return error.ConnectionRefused, |
| 3996 | 3997 | .FAULT => unreachable, // The socket structure address is outside the user's address space. |
| 3997 | 3998 | .ISCONN => unreachable, // The socket is already connected. |
| 3999 | .HOSTUNREACH => return error.NetworkUnreachable, |
| 3998 | 4000 | .NETUNREACH => return error.NetworkUnreachable, |
| 3999 | 4001 | .NOTSOCK => unreachable, // The file descriptor sockfd does not refer to a socket. |
| 4000 | 4002 | .PROTOTYPE => unreachable, // The socket type does not support the requested communications protocol. |