<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div style="" class=""><span style="" class="">Hi,</span></div><div class="" style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br style="" class=""><span style="" class=""></span></div><div class="" style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span style="" class="">It seems that my fix is not enough. I can connect only inside the same network. The candidate list doesn't contain any public address when running the sdp-example from Win (firewall was off). When I run the sdp-example from a linux in VBox the connection
was possible. There should be more things missing maybe.</span></div><div class="" style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br style="" class=""><span style="" class=""></span></div><div class="" style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">@Olivier</div><div class="" style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">I couldn't find any reference to g_networking_init() in the glib sources I have. Are you sure it is required?</div><div class="" style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div class="" style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">Andrei<br style="" class=""></div> <div class="" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"> <div class="" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="" class="" dir="ltr"> <hr style="" class="" size="1"> <font style="" class="" face="Arial" size="2"> <b style="" class=""><span class="" style="font-weight:bold;">From:</span></b> "nice-request@lists.freedesktop.org" <nice-request@lists.freedesktop.org><br style="" class=""> <b style="" class=""><span class="" style="font-weight:
bold;">To:</span></b> nice@lists.freedesktop.org <br style="" class=""> <b style="" class=""><span class="" style="font-weight: bold;">Sent:</span></b> Monday, August 25, 2014 10:00 PM<br style="" class=""> <b style="" class=""><span class="" style="font-weight: bold;">Subject:</span></b> nice Digest, Vol 72, Issue 10<br style="" class=""> </font> </div> <div style="" class=""><br style="" class="">Send nice mailing list submissions to<br style="" class=""> <a style="" class="" ymailto="mailto:nice@lists.freedesktop.org" href="mailto:nice@lists.freedesktop.org">nice@lists.freedesktop.org</a><br style="" class=""><br style="" class="">To subscribe or unsubscribe via the World Wide Web, visit<br style="" class=""> <a style="" class="" href="http://lists.freedesktop.org/mailman/listinfo/nice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/nice</a><br style="" class="">or, via email, send a message with
subject or body 'help' to<br style="" class=""> <a style="" class="" ymailto="mailto:nice-request@lists.freedesktop.org" href="mailto:nice-request@lists.freedesktop.org">nice-request@lists.freedesktop.org</a><br style="" class=""><br style="" class="">You can reach the person managing the list at<br style="" class=""> <a style="" class="" ymailto="mailto:nice-owner@lists.freedesktop.org" href="mailto:nice-owner@lists.freedesktop.org">nice-owner@lists.freedesktop.org</a><br style="" class=""><br style="" class="">When replying, please edit your Subject line so it is more specific<br style="" class="">than "Re: Contents of nice digest..."<br style="" class=""><br style="" class=""><br style="" class="">Today's Topics:<br style="" class=""><br style="" class=""> 1. Re: Libnice 0.1.17 windows build bug (Scott Richmond)<br style="" class=""> 2. Re: Libnice 0.1.17 windows build bug (Olivier Cr?te)<br style=""
class=""><br style="" class=""><br style="" class="">----------------------------------------------------------------------<br style="" class=""><br style="" class="">Message: 1<br style="" class="">Date: Mon, 25 Aug 2014 16:13:07 +1000<br style="" class="">From: Scott Richmond <<a style="" class="" ymailto="mailto:s.t.richmond@gmail.com" href="mailto:s.t.richmond@gmail.com">s.t.richmond@gmail.com</a>><br style="" class="">To: B Andrei <<a style="" class="" ymailto="mailto:yo8tot@yahoo.com" href="mailto:yo8tot@yahoo.com">yo8tot@yahoo.com</a>><br style="" class="">Cc: "<a style="" class="" ymailto="mailto:nice@lists.freedesktop.org" href="mailto:nice@lists.freedesktop.org">nice@lists.freedesktop.org</a>" <<a style="" class="" ymailto="mailto:nice@lists.freedesktop.org" href="mailto:nice@lists.freedesktop.org">nice@lists.freedesktop.org</a>><br style="" class="">Subject: Re: [libnice] Libnice 0.1.17 windows build bug<br style=""
class="">Message-ID:<br style="" class=""> <CAEwxhEudxxhAPhE40mgevM02fiFhaQGBRk32UYShB+<a style="" class="" ymailto="mailto:UJjDRNMw@mail.gmail.com" href="mailto:UJjDRNMw@mail.gmail.com">UJjDRNMw@mail.gmail.com</a>><br style="" class="">Content-Type: text/plain; charset="utf-8"<br style="" class=""><br style="" class="">Andrei,<br style="" class=""><br style="" class="">Would be great if you could submit a pull request here:<br style="" class=""><a style="" class="" href="https://github.com/kakaroto/libnice" target="_blank">https://github.com/kakaroto/libnice</a><br style="" class="">Would allow the devs to more easily integrate your solution.<br style="" class=""><br style="" class=""><br style="" class="">On Sat, Aug 23, 2014 at 12:03 AM, B Andrei <<a style="" class="" ymailto="mailto:yo8tot@yahoo.com" href="mailto:yo8tot@yahoo.com">yo8tot@yahoo.com</a>> wrote:<br style="" class=""><br style="" class="">> Hello,<br
style="" class="">><br style="" class="">> I finally managed to run simple_example in windows. There is an missing<br style="" class="">> initialization in code. The function getaddrinfo() in address.c at line 93<br style="" class="">> return a != 0 value. This is because winsock was not initialized first.<br style="" class="">> Initialization is done with WSAStartup in nice_interfaces_get_WSA_socket()<br style="" class="">> ( in interfaces.c). But the nice_interfaces_get_WSA_socket() is inside a<br style="" class="">> #if 0 statement. I just add the following code at the beginning of main:<br style="" class="">><br style="" class="">> WORD wVersionRequested;<br style="" class="">> WSADATA wsaData;<br style="" class="">> int err;<br style="" class="">> wVersionRequested = MAKEWORD(2, 0);<br style="" class="">> err =
WSAStartup(wVersionRequested, &wsaData);<br style="" class="">> if (err != 0) {<br style="" class="">> printf("\n\nError : Could not start the winsocket engine\n\n");<br style="" class="">> }<br style="" class="">><br style="" class="">> Maybe this info could be helpful to somebody<br style="" class="">><br style="" class="">> The hole project (without this fix) is uploaded here:<br style="" class="">><br style="" class="">> <a style="" class="" href="https://drive.google.com/file/d/0B77rRvkLQgXuLTQ2SjR2bnI5WDg/edit?usp=sharing" target="_blank">https://drive.google.com/file/d/0B77rRvkLQgXuLTQ2SjR2bnI5WDg/edit?usp=sharing</a><br style="" class="">><br style="" class="">> Andrei<br style="" class="">><br style="" class="">><br style="" class="">> _______________________________________________<br style="" class="">>
nice mailing list<br style="" class="">> <a style="" class="" ymailto="mailto:nice@lists.freedesktop.org" href="mailto:nice@lists.freedesktop.org">nice@lists.freedesktop.org</a><br style="" class="">> <a style="" class="" href="http://lists.freedesktop.org/mailman/listinfo/nice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/nice</a><br style="" class="">><br style="" class="">><br style="" class="">-------------- next part --------------<br style="" class="">An HTML attachment was scrubbed...<br style="" class="">URL: <<a style="" class="" href="http://lists.freedesktop.org/archives/nice/attachments/20140825/fb99602b/attachment-0001.html" target="_blank">http://lists.freedesktop.org/archives/nice/attachments/20140825/fb99602b/attachment-0001.html</a>><br style="" class=""><br style="" class="">------------------------------<br style="" class=""><br style="" class="">Message: 2<br style="" class="">Date: Mon, 25 Aug 2014
08:09:49 -0400<br style="" class="">From: Olivier Cr?te <<a style="" class="" ymailto="mailto:olivier.crete@collabora.com" href="mailto:olivier.crete@collabora.com">olivier.crete@collabora.com</a>><br style="" class="">To: <a style="" class="" ymailto="mailto:nice@lists.freedesktop.org" href="mailto:nice@lists.freedesktop.org">nice@lists.freedesktop.org</a><br style="" class="">Subject: Re: [libnice] Libnice 0.1.17 windows build bug<br style="" class="">Message-ID: <<a style="" class="" ymailto="mailto:53FB278D.90000@collabora.com" href="mailto:53FB278D.90000@collabora.com">53FB278D.90000@collabora.com</a>><br style="" class="">Content-Type: text/plain; charset=ISO-8859-1<br style="" class=""><br style="" class="">Hi,<br style="" class=""><br style="" class="">What you want to use is g_networking_init();<br style="" class=""><br style="" class="">Also, please submit patches to<br style="" class=""><a style="" class=""
href="https://bugs.freedesktop.org/enter_bug.cgi?product=nice" target="_blank">https://bugs.freedesktop.org/enter_bug.cgi?product=nice </a>as Kakaroto is<br style="" class="">often quite busy with other things.<br style="" class=""><br style="" class="">Olivier<br style="" class=""><br style="" class="">On 08/25/2014 02:13 AM, Scott Richmond wrote:<br style="" class="">> Andrei,<br style="" class="">> <br style="" class="">> Would be great if you could submit a pull request<br style="" class="">> here: <a style="" class="" href="https://github.com/kakaroto/libnice" target="_blank">https://github.com/kakaroto/libnice</a><br style="" class="">> Would allow the devs to more easily integrate your solution.<br style="" class="">> <br style="" class="">> <br style="" class="">> On Sat, Aug 23, 2014 at 12:03 AM, B Andrei <<a style="" class="" ymailto="mailto:yo8tot@yahoo.com" href="mailto:yo8tot@yahoo.com">yo8tot@yahoo.com</a><br
style="" class="">> <mailto:<a style="" class="" ymailto="mailto:yo8tot@yahoo.com" href="mailto:yo8tot@yahoo.com">yo8tot@yahoo.com</a>>> wrote:<br style="" class="">> <br style="" class="">> Hello,<br style="" class="">> <br style="" class="">> I finally managed to run simple_example in windows. There is an<br style="" class="">> missing initialization in code. The function getaddrinfo() in<br style="" class="">> address.c at line 93 return a != 0 value. This is because winsock<br style="" class="">> was not initialized first. Initialization is done with WSAStartup in<br style="" class="">> nice_interfaces_get_WSA_socket() ( in interfaces.c). But the<br style="" class="">> nice_interfaces_get_WSA_socket() is inside a #if 0 statement. I<br style="" class="">> just add the following code at
the beginning of main:<br style="" class="">> <br style="" class="">> WORD wVersionRequested;<br style="" class="">> WSADATA wsaData;<br style="" class="">> int err;<br style="" class="">> wVersionRequested = MAKEWORD(2, 0);<br style="" class="">> err = WSAStartup(wVersionRequested, &wsaData);<br style="" class="">> if (err != 0) {<br style="" class="">> printf("\n\nError : Could not start the winsocket<br style="" class="">> engine\n\n");<br style="" class="">> }<br style="" class="">> <br style="" class="">> Maybe this info could be helpful to somebody<br style="" class="">> <br style="" class="">>
The hole project (without this fix) is uploaded here:<br style="" class="">> <a style="" class="" href="https://drive.google.com/file/d/0B77rRvkLQgXuLTQ2SjR2bnI5WDg/edit?usp=sharing" target="_blank">https://drive.google.com/file/d/0B77rRvkLQgXuLTQ2SjR2bnI5WDg/edit?usp=sharing</a><br style="" class="">> <br style="" class="">> Andrei<br style="" class="">> <br style="" class="">> <br style="" class="">> _______________________________________________<br style="" class="">> nice mailing list<br style="" class="">> <a style="" class="" ymailto="mailto:nice@lists.freedesktop.org" href="mailto:nice@lists.freedesktop.org">nice@lists.freedesktop.org</a> <mailto:<a style="" class="" ymailto="mailto:nice@lists.freedesktop.org" href="mailto:nice@lists.freedesktop.org">nice@lists.freedesktop.org</a>><br style="" class="">> <a style="" class=""
href="http://lists.freedesktop.org/mailman/listinfo/nice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/nice</a><br style="" class="">> <br style="" class="">> <br style="" class="">> <br style="" class="">> <br style="" class="">> _______________________________________________<br style="" class="">> nice mailing list<br style="" class="">> <a style="" class="" ymailto="mailto:nice@lists.freedesktop.org" href="mailto:nice@lists.freedesktop.org">nice@lists.freedesktop.org</a><br style="" class="">> <a style="" class="" href="http://lists.freedesktop.org/mailman/listinfo/nice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/nice</a><br style="" class="">> <br style="" class=""><br style="" class="">-- <br style="" class="">Olivier Cr?te<br style="" class=""><a style="" class="" ymailto="mailto:olivier.crete@collabora.com" href="mailto:olivier.crete@collabora.com">olivier.crete@collabora.com</a><br
style="" class=""><br style="" class=""><br style="" class="">------------------------------<br style="" class=""><br style="" class="">Subject: Digest Footer<br style="" class=""><br style="" class="">_______________________________________________<br style="" class="">nice mailing list<br style="" class=""><a style="" class="" ymailto="mailto:nice@lists.freedesktop.org" href="mailto:nice@lists.freedesktop.org">nice@lists.freedesktop.org</a><br style="" class=""><a style="" class="" href="http://lists.freedesktop.org/mailman/listinfo/nice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/nice</a><br style="" class=""><br style="" class=""><br style="" class="">------------------------------<br style="" class=""><br style="" class="">End of nice Digest, Vol 72, Issue 10<br style="" class="">************************************<br style="" class=""><br style="" class=""><br style="" class=""></div> </div> </div> </div></body></html>