Please check the manual page recv(2).