Y
Hacker News
new
|
ask
|
show
|
jobs
by
smegel
3673 days ago
No it is not. You must keep reading from the socket until you have read as many bytes as required - he isn't even checking how many bytes recv returned.