Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
CS foundations
/
Network programming
What happens when a UDP datagram is larger than the buffer passed to a basic recvfrom() c…
from Network programming
Python 3.14
intermediate
4 min
What happens when a UDP datagram is larger than the buffer passed to a basic recvfrom() call?
The remainder is returned by the next recvfrom() call.
The call waits until the application provides a larger buffer.
The returned payload is truncated; the remainder is not a second datagram fragment for the application to read.
UDP transparently converts the datagram into a TCP stream.
Check
Ask AI about this kata
Report an error
previous kata
A TCP sender calls sendall() twice with two application messages. What may the receiver o…
Quiz
A new version is available
Reload