<div dir="ltr"><br><div>Hi.</div><div><br></div><div>As far as I know, when gen_tcp:send returns {error,timeout}, it means that it failed to send required amount of data in a requested time and now socket is in "bad" state. Not closed, but not ready for work, because we do not know how much data have been transmitted.</div><div><br></div><div>Has anything changed?</div><div><br></div><div><br></div><div>Is it possible to understand, how many data from packet have been sent to OS and try to restore situation on socket and resend the rest of packet again?</div><div><br></div><div><br></div></div>