dear list,<br><br>when calling gen_tcp:recv/3 by specifying a length and a timeout, when will {error, timeout} be a response? Is it:<br><br>1. when no bytes are received for a period longer than the specified Timeout<br>2. when the number of bytes specified in Length is not received within Timeout<br>
<br>if 2, what is the best solution to actually *not* have a recv/3 timeout while receiving bytes at a very low pace (for instance on very slow connections)?<br><br>thank you,<br><br>r.<br>