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
A TCP sender calls sendall() twice with two application messages. What may the receiver o…
from Network programming
Python 3.14
beginner
3 min
A TCP sender calls sendall() twice with two application messages. What may the receiver observe?
Exactly two recv() results with the same boundaries
One combined read, several partial reads, or other splits that preserve byte order
The two messages in reverse order when the network is congested
Only the second message because TCP overwrites its send buffer
Check
Ask AI about this kata
Report an error
previous kata
Spot the bug in the framed message reader
Spot the bug
next kata
What happens when a UDP datagram is larger than the buffer passed to a basic recvfrom() c…
Quiz
A new version is available
Reload