<div dir="ltr"><div>I thought the example doing nothing but in fact it did...</div><div><br></div><div>I captured the packets and it showed that the simple-example indeed gathered the candidates,</div><div>however, fail on connectivity checks  with some ICMP packets.</div><div><br></div><div>These packets showed that </div><div>"Destination unreachable (Administratively prohibited)"</div><div><br></div><div>I checked and found it's the iptables and firewall issue ,</div><div>and after I set then properly the example process works! :)</div><div>I can send the data mutually now!</div><div><br></div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-25 0:32 GMT+08:00 Philip Withnall <span dir="ltr"><<a href="mailto:philip@tecnocode.co.uk" target="_blank">philip@tecnocode.co.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 2015-08-24 at 15:19 +0800, Jack Wang wrote:<br>
> I install 0.1.13 for two clients and want to learn how to use libnice<br>
> by examples,<br>
><br>
> however, after I input the remote info on each other and press enter,<br>
><br>
> the simple-example process closed and nothing happened.<br>
><br>
><br>
> Is this correct?<br>
><br>
> my operation like the followings (from one side's part):<br>
><br>
> =================================<br>
> $ simple-example 0 mystunserver<br>
>   Copy this line to remote client:<br>
><br>
>   [local info]<br>
><br>
> Enter remote data (single line, no wrapping):<br>
> > [and input the remote info]<br>
><br>
> and press enter, the process exit.<br>
> =================================<br>
<br>
</span>Weird: once you’ve copied the candidate lines from one client to the<br>
other (and vice-versa), both clients should print “Send lines to remote<br>
(Ctrl-D to quit)” and allow you to send data (in both directions) until<br>
you press Ctrl+D.<br>
<br>
Are either of the clients crashing? Run them under gdb to get a full<br>
backtrace if so.<br>
<br>
What network configuration do you have?<br>
<span class="HOEnZb"><font color="#888888"><br>
Philip</font></span></blockquote></div><br></div></div>