<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META content=text/html;charset=Windows-1252 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.9600.18015"></HEAD>
<BODY id=MailContainerBody
style="PADDING-TOP: 15px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px" leftMargin=0
topMargin=0 CanvasTabStop="true" name="Compose message area">
<DIV><FONT face=Calibri>
<P class=MsoNormal>Hello,</P>
<P class=MsoNormal>The way of compilation significantly affects the number of
gathered candidates. The first example is using <SPAN
style="COLOR: #1f497d">the auto generated </SPAN>Makefile to compile
libnice-0.1.13/examples/simple-example.c and generates 18 candidates on my PC,
but the 2<SUP>nd</SUP> method, as mentioned in simple-example.c, just generates
3 candidates. Any idea what compilation flags are also needed as I must use
the 2nd method to manually compile my applications?</P>
<P class=MsoListParagraph
style="TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo2"><SPAN
style="mso-list: Ignore">1.<SPAN
style='FONT: 7pt "Times New Roman"'> <FONT
size=3 face=Calibri>1. </FONT></SPAN></SPAN>Compile using
Makefile<o:p></o:p></P>
<P class=MsoNormal><A
href="mailto:tao@ubuntu:~/workspace/libnice-0.1.13/examples$"><FONT
title="mailto:tao@ubuntu:~/workspace/libnice-0.1.13/examples$
CTRL + Click to follow link"
color=#0563c1>tao@ubuntu:~/workspace/libnice-0.1.13/examples$</FONT></A> make
simple-example<o:p></o:p></P>
<P class=MsoNormal> CC
simple-example.o<o:p></o:p></P>
<P class=MsoNormal> CCLD
simple-example<o:p></o:p></P>
<P class=MsoNormal><A
href="mailto:tao@ubuntu:~/workspace/libnice-0.1.13/examples$"><FONT
color=#0563c1>tao@ubuntu:~/workspace/libnice-0.1.13/examples$</FONT></A>
./simple-example 0 stunserver.org<o:p></o:p></P>
<P class=MsoNormal>Copy this line to remote client:</P>
<P class=MsoNormal> aYjQ jmn6uO+LVvafYYAiIbZhX5
1,2013266431,fe80::20c:29ff:fe34:d0c8,40281,host
2,1019216383,fe80::20c:29ff:fe34:d0c8,0,host
3,1015022079,fe80::20c:29ff:fe34:d0c8,36577,host
4,2013266431,fe80::20c:29ff:fe34:d0be,56140,host
5,1019216383,fe80::20c:29ff:fe34:d0be,0,host
6,1015022079,fe80::20c:29ff:fe34:d0be,37034,host
7,2013266431,fe80::20c:29ff:fe34:d0b4,49289,host
8,1019216383,fe80::20c:29ff:fe34:d0b4,0,host
9,1015022079,fe80::20c:29ff:fe34:d0b4,43111,host
10,2013266431,192.168.0.60,57450,host 11,1019216383,192.168.0.60,0,host
12,1015022079,192.168.0.60,49752,host 13,2013266431,172.16.1.129,48506,host
14,1019216383,172.16.1.129,0,host 15,1015022079,172.16.1.129,59754,host
16,2013266431,10.113.54.60,43208,host 17,1019216383,10.113.54.60,0,host
18,1015022079,10.113.54.60,50996,host</P>
<P class=MsoNormal>Enter remote data (single line, no wrapping):</P>
<P class=MsoListParagraph
style="TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo2"><SPAN
style="mso-list: Ignore">2.<SPAN
style='FONT: 7pt "Times New Roman"'> <FONT
size=3 face=Calibri>2. </FONT></SPAN></SPAN>Compile manually using
gcc<o:p></o:p></P>
<P class=MsoNormal><A
href="mailto:tao@ubuntu:~/workspace/libnice-0.1.13/examples$"><FONT
title="mailto:tao@ubuntu:~/workspace/libnice-0.1.13/examples$
CTRL + Click to follow link"
color=#0563c1>tao@ubuntu:~/workspace/libnice-0.1.13/examples$</FONT></A> gcc -o
simple-example simple-example.c `pkg-config --cflags --libs nice`<o:p></o:p></P>
<P class=MsoNormal><A
href="mailto:tao@ubuntu:~/workspace/libnice-0.1.13/examples$"><FONT
color=#0563c1>tao@ubuntu:~/workspace/libnice-0.1.13/examples$</FONT></A>
./simple-example 0 stunserver.org<o:p></o:p></P>
<P class=MsoNormal>Copy this line to remote client:</P>
<P class=MsoNormal> HWQy FNchHCZ8oJYNcorQg8M0pU
1,2013266431,192.168.0.60,33215,host 2,2013266431,172.16.1.129,56681,host
3,2013266431,10.113.54.60,56804,host</P>
<P class=MsoNormal>Enter remote data (single line, no
wrapping):<o:p></o:p></P><BR></FONT></DIV></BODY></HTML>