Skip to content

Commit a08ea10

Browse files
committed
More on shutdown().
1 parent 3c94667 commit a08ea10

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

network.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,9 @@
759759
\texttt{shutdown(fd, SHUT\_RDWR)}. When using
760760
\texttt{shutdown(fd, SHUT\_WR)} it is still possible to read from the socket.
761761
The remote side will get \texttt{EOF} while reading however it can still write.
762+
\item If \texttt{connect} is used on a datagram socket then calling
763+
\texttt{shutdown} on the socket will make subsequent send and/or receive calls
764+
on that socket fail.
762765
\end{itemize}
763766

764767
%%%%%

0 commit comments

Comments
 (0)