Skip to content

Commit 4d6c9d0

Browse files
committed
Be specific about listen() and UDP.
1 parent 7bcefa5 commit 4d6c9d0

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
@@ -419,6 +419,8 @@
419419
specification to be in \texttt{sys/socket.h}. It specifies the maximum queue
420420
length for \funnm{listen}(). As far as we know, Linux, FreeBSD, macOS and
421421
Solaris use value of 128.
422+
\item This function is specific to connection-oriented protocols, so it does not
423+
work with UDP.
422424
\end{itemize}
423425

424426
%%%%%
@@ -572,6 +574,7 @@
572574
\end{slide}
573575

574576
\begin{itemize}
577+
\item Note that there is no \funnm{listen} call.
575578
\item Both the client and server use the same functions, the client is one that
576579
sends the first datagram.
577580
\item As in TCP, a client does not need \funnm{bind}() unless it requires a

0 commit comments

Comments
 (0)