diff --git a/man2/connect.2 b/man2/connect.2 index 04b15f3ba..d0f05d024 100644 --- a/man2/connect.2 +++ b/man2/connect.2 @@ -267,6 +267,12 @@ Some POSIX confusion resulted in the present also used by glibc. See also .BR accept (2). + +If +.B connect() +fails, consider the state of the socket as unspecified. +Portable applications should close the socket and create a new one for +reconnecting. .SH EXAMPLE An example of the use of .BR connect ()