<div dir="ltr">Hi all,<div><br></div><div>Actually when I send a large binary I split it chunk of 64MB and loop until the end:</div><div><br></div><div><br></div><div> send(<<Data:65536000/binary, Rest/binary >>, Transport, Socket) -></div>
<div> Transport:send(Socket, Data);</div><div> send(Data, Transport, Socket) -></div><div> Transport:send(Socket, Data).</div><div><br></div><div><br></div><div>But I wonder if it's really useful, Does gen_tcp:semd and ssl:send take care about it? Should I just use `Transport:send(Socket, Data)` ?</div>
<div><br></div><div><br></div><div>- benoit</div><div><br></div><div><br></div></div>