<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr">Hi,</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr">I have 2 instances of libnice talking to each other nicely</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr">But when one of the instance is killed, the other one is not notified and retries forever to send data.</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr">What would be the right way to get that "peer is gone" information ?</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr">I've hooked all the signals but they are not invoked in that case (might have made a mistake there).</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr"><br></div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr">For test purpose, i have added a check in pseudo_tcp_notify_clock (see below)</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr">and it seems to do the work</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr">i.e. if we have some tx stuff going on and the last received packed is more than 30s old, it means we have a problem.</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr">There is probably a better way to do that</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr"><br></div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr">Thanks</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr">Best Regards</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr"><br></div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr"><br></div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr"><br></div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr">{</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr">...</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr" class="" style="">if (priv->snd_wnd )</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr" class="" style="">{</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr" class="" style=""> if (time_diff(now, priv->lastrecv) >= 30000) </div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr" class="" style=""> {</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr" class="" style=""> closedown (self, ECONNABORTED, CLOSEDOWN_LOCAL);</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr" class="" style=""> return;</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr" class="" style=""> }</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr" class="" style="">}</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr">..</div><div id="yui_3_16_0_1_1429708535714_5564" dir="ltr"><br></div></div></body></html>