<div dir="ltr">Andrei,<div><br></div><div>Would be great if you could submit a pull request here: <a href="https://github.com/kakaroto/libnice" target="_blank">https://github.com/kakaroto/libnice</a></div><div>Would allow the devs to more easily integrate your solution.</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Aug 23, 2014 at 12:03 AM, B Andrei <span dir="ltr"><<a href="mailto:yo8tot@yahoo.com" target="_blank">yo8tot@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:10pt"><div>Hello,<br><br>I finally managed to run simple_example in windows. There is an missing initialization in code. The function getaddrinfo() in address.c at line 93 return a != 0 value. This is because winsock was not initialized first. Initialization is done with WSAStartup in nice_interfaces_get_WSA_socket()  ( in interfaces.c). But the nice_interfaces_get_WSA_socket()  is inside a #if 0 statement. I just add the following code at the beginning of main:<br>
<br>    WORD wVersionRequested;<br>    WSADATA wsaData;<br>    int err;<br>    wVersionRequested = MAKEWORD(2, 0);<br>    err = WSAStartup(wVersionRequested, &wsaData);<br>        if (err != 0) {<br>            printf("\n\nError : Could not start the winsocket engine\n\n");<br>
     }<br><br>Maybe this info could be helpful to somebody<br><br>The hole project (without this fix) is uploaded here:<br><a href="https://drive.google.com/file/d/0B77rRvkLQgXuLTQ2SjR2bnI5WDg/edit?usp=sharing" target="_blank">https://drive.google.com/file/d/0B77rRvkLQgXuLTQ2SjR2bnI5WDg/edit?usp=sharing</a><span class="HOEnZb"><font color="#888888"><br>
<br>Andrei<br></font></span></div><div><br></div></div></div><br>_______________________________________________<br>
nice mailing list<br>
<a href="mailto:nice@lists.freedesktop.org">nice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/nice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/nice</a><br>
<br></blockquote></div><br></div>