<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div><div><div>Actually one can also use: inet_tcp:send(Sock,Data,[nosuspend]) which will return {error,busy} if it is unable to send immediately.</div><div><br></div><div><br></div><div>Sergej</div><div><div id="MAC_OUTLOOK_SIGNATURE"></div></div></div></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> <<a href="mailto:erlang-questions-bounces@erlang.org">erlang-questions-bounces@erlang.org</a>> on behalf of Tobias Schlager<br><span style="font-weight:bold">Date: </span> Monday 12 October 2015 at 17:14<br><span style="font-weight:bold">To: </span> Ulf Wiger, Roberto Ostinelli<br><span style="font-weight:bold">Cc: </span> erlang questions<br><span style="font-weight:bold">Subject: </span> Re: [erlang-questions] Exometer, Recon and prim_inet:send/2?<br></div><div><br></div><div dir="ltr"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style><div ocsi="0" fpstyle="1" class="" style="word-wrap:break-word"><div style="direction: ltr;font-family: Arial;color: #000000;font-size: 10pt;">Hi,<br><br>
Graphite does also support UDP. Maybe that could be an option for you. Fire and forget might in this case be better than loading your system. Another possibility would be to automatically close the TCP session when the other end gets unresponsive using the
send_timeout option.<br><br>
Regards<br>
Tobias<br><br></div></div></div>
_______________________________________________
erlang-questions mailing list
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</span></body></html>