[libnice] nice Digest, Vol 72, Issue 11

B Andrei yo8tot at yahoo.com
Tue Aug 26 23:29:15 PDT 2014


Hi,

Sorry about the last email, it was not working because of my mistake. If the winsock is initialized Libnice works fine in Windows.

Andrei



________________________________
 From: "nice-request at lists.freedesktop.org" <nice-request at lists.freedesktop.org>
To: nice at lists.freedesktop.org 
Sent: Tuesday, August 26, 2014 10:00 PM
Subject: nice Digest, Vol 72, Issue 11
 

Send nice mailing list submissions to
    nice at lists.freedesktop.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.freedesktop.org/mailman/listinfo/nice
or, via email, send a message with subject or body 'help' to
    nice-request at lists.freedesktop.org

You can reach the person managing the list at
    nice-owner at lists.freedesktop.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of nice digest..."


Today's Topics:

   1. Re: nice Digest, Vol 72, Issue 10 (B Andrei)


----------------------------------------------------------------------

Message: 1
Date: Tue, 26 Aug 2014 05:14:55 -0700
From: B Andrei <yo8tot at yahoo.com>
To: "nice at lists.freedesktop.org" <nice at lists.freedesktop.org>
Subject: Re: [libnice] nice Digest, Vol 72, Issue 10
Message-ID:
    <1409055295.16445.YahooMailNeo at web121606.mail.ne1.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

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.

@Olivier
I couldn't find any reference to g_networking_init() in the glib sources I have. Are you sure it is required?

Andrei


________________________________
From: "nice-request at lists.freedesktop.org" <nice-request at lists.freedesktop.org>
To: nice at lists.freedesktop.org 
Sent: Monday, August 25, 2014 10:00 PM
Subject: nice Digest, Vol 72, Issue 10


Send nice mailing list submissions to
??? nice at lists.freedesktop.org

To subscribe or unsubscribe via the World Wide Web, visit
??? http://lists.freedesktop.org/mailman/listinfo/nice
or, via email, send a message with subject or body 'help' to
??? nice-request at lists.freedesktop.org

You can reach the person managing the list at
??? nice-owner at lists.freedesktop.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of nice digest..."


Today's Topics:

?  1. Re: Libnice 0.1.17 windows build bug (Scott Richmond)
?  2. Re: Libnice 0.1.17 windows build bug (Olivier Cr?te)


----------------------------------------------------------------------

Message: 1
Date: Mon, 25 Aug 2014 16:13:07 +1000
From: Scott Richmond <s.t.richmond at gmail.com>
To: B Andrei <yo8tot at yahoo.com>
Cc: "nice at lists.freedesktop.org" <nice at lists.freedesktop.org>
Subject: Re: [libnice] Libnice 0.1.17 windows build bug
Message-ID:
??? <CAEwxhEudxxhAPhE40mgevM02fiFhaQGBRk32UYShB+UJjDRNMw at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Andrei,

Would be great if you could submit a pull request here:
https://github.com/kakaroto/libnice
Would allow the devs to more easily integrate your solution.


On Sat, Aug 23, 2014 at 12:03 AM, B Andrei <yo8tot at yahoo.com> wrote:

> Hello,
>
> 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:
>
>? ?  WORD wVersionRequested;
>? ?  WSADATA wsaData;
>? ?  int err;
>? ?  wVersionRequested = MAKEWORD(2, 0);
>? ?  err = WSAStartup(wVersionRequested, &wsaData);
>? ? ? ?  if (err != 0) {
>? ? ? ? ? ?  printf("\n\nError : Could not start the winsocket engine\n\n");
>? ? ? }
>
> Maybe this info could be helpful to somebody
>
> The hole project (without this fix) is uploaded here:
>
> https://drive.google.com/file/d/0B77rRvkLQgXuLTQ2SjR2bnI5WDg/edit?usp=sharing
>
> Andrei
>
>
> _______________________________________________
> nice mailing list
> nice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nice
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nice/attachments/20140825/fb99602b/attachment-0001.html>

------------------------------

Message: 2
Date: Mon, 25 Aug 2014 08:09:49 -0400
From: Olivier Cr?te <olivier.crete at collabora.com>
To: nice at lists.freedesktop.org
Subject: Re: [libnice] Libnice 0.1.17 windows build bug
Message-ID: <53FB278D.90000 at collabora.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi,

What you want to use is g_networking_init();

Also, please submit patches to
https://bugs.freedesktop.org/enter_bug.cgi?product=nice as Kakaroto is
often quite busy with other things.

Olivier

On 08/25/2014 02:13 AM, Scott Richmond wrote:
> Andrei,
> 
> Would be great if you could submit a pull request
> here: https://github.com/kakaroto/libnice
> Would allow the devs to more easily integrate your solution.
> 
> 
> On Sat, Aug 23, 2014 at 12:03 AM, B Andrei <yo8tot at yahoo.com
> <mailto:yo8tot at yahoo.com>> wrote:
> 
>? ?  Hello,
> 
>? ?  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:
> 
>? ? ? ?  WORD wVersionRequested;
>? ? ? ?  WSADATA wsaData;
>? ? ? ?  int err;
>? ? ? ?  wVersionRequested = MAKEWORD(2, 0);
>? ? ? ?  err = WSAStartup(wVersionRequested, &wsaData);
>? ? ? ? ? ?  if (err != 0) {
>? ? ? ? ? ? ? ?  printf("\n\nError : Could not start the winsocket
>? ?  engine\n\n");
>? ? ? ? ? }
> 
>? ?  Maybe this info could be helpful to somebody
> 
>? ?  The hole project (without this fix) is uploaded here:
>? ? https://drive.google.com/file/d/0B77rRvkLQgXuLTQ2SjR2bnI5WDg/edit?usp=sharing
> 
>? ?  Andrei
> 
> 
>? ?  _______________________________________________
>? ?  nice mailing list
>? ? nice at lists.freedesktop.org <mailto:nice at lists.freedesktop.org>
>? ? http://lists.freedesktop.org/mailman/listinfo/nice
> 
> 
> 
> 
> _______________________________________________
> nice mailing list
> nice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nice
> 

-- 
Olivier Cr?te
olivier.crete at collabora.com


------------------------------

Subject: Digest Footer

_______________________________________________
nice mailing list
nice at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nice


------------------------------

End of nice Digest, Vol 72, Issue 10
************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nice/attachments/20140826/3d520759/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
nice mailing list
nice at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nice


------------------------------

End of nice Digest, Vol 72, Issue 11
************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nice/attachments/20140826/b599bf35/attachment.html>


More information about the nice mailing list