3 ms·
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.
by smegel 10y 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.