Lines Matching defs:connect
179 /// `connect(sockfd, addr)`—Initiates a connection to an IP address.
187 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/connect.html
188 /// [Linux]: https://man7.org/linux/man-pages/man2/connect.2.html
189 /// [Apple]: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/connect.2.html
190 /// [Winsock2]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-connect
191 pub fn connect<Fd: AsFd>(sockfd: Fd, addr: &SocketAddr) -> io::Result<()> {
202 /// `connect(sockfd, addr)`—Initiates a connection.
210 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/connect.html
211 /// [Linux]: https://man7.org/linux/man-pages/man2/connect.2.html
212 /// [Apple]: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/connect.2.html
213 /// [Winsock2]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-connect
214 #[doc(alias = "connect")]
228 /// `connect(sockfd, addr, sizeof(struct sockaddr_in))`—Initiates a
237 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/connect.html
238 /// [Linux]: https://man7.org/linux/man-pages/man2/connect.2.html
239 /// [Apple]: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/connect.2.html
240 /// [Winsock2]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-connect
242 #[doc(alias = "connect")]
247 /// `connect(sockfd, addr, sizeof(struct sockaddr_in6))`—Initiates a
256 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/connect.html
257 /// [Linux]: https://man7.org/linux/man-pages/man2/connect.2.html
258 /// [Apple]: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/connect.2.html
259 /// [Winsock2]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-connect
261 #[doc(alias = "connect")]
266 /// `connect(sockfd, addr, sizeof(struct sockaddr_un))`—Initiates a
275 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/connect.html
276 /// [Linux]: https://man7.org/linux/man-pages/man2/connect.2.html
277 /// [Apple]: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/connect.2.html
278 /// [Winsock2]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-connect
281 #[doc(alias = "connect")]