Ryan Lortie cb1a609240 Bug 585575 – g_socket_listener_add_inet_port()
Change the logic in g_socket_listener_add_inet_port() as per the
reasoning in the bug report.

  - If the OS supports neither IPv6 or IPv4, fail.
  - If the OS supports only IPv6, do that.
  - If the OS supports only IPv4, do that.
  - If the OS supports IPv6 and IPv6 "speaks" IPv4 then bind it
    and be done.
  - If the OS supports IPv6 and IPv6 doesn't "speak" IPv4 then
    create an additional socket for IPv4.
  - If binding any socket fails then fail the entire call.

Also, remove the ability to call this function with port == 0.  This
is a useless thing to do anyway since you have no way to know what
port number was actually allocated.  We should have a separate
function to deal with this.
2009-06-12 13:01:04 -04:00
..
2009-05-18 13:07:39 +02:00
2009-05-18 13:07:39 +02:00
2009-05-30 15:29:23 +02:00
2009-05-01 10:37:45 -04:00
2007-11-28 18:45:08 +00:00
2009-03-31 19:39:16 -04:00
2009-01-19 07:05:07 +00:00
2009-03-01 17:12:58 +00:00
2009-04-03 00:35:43 -04:00
2009-05-13 14:42:46 +02:00
2008-12-12 20:59:54 +00:00
2009-05-28 00:30:21 -04:00
2009-05-30 15:24:06 +02:00
2009-06-12 12:21:07 -04:00
2007-12-01 23:49:34 +00:00
2009-05-13 14:42:38 +02:00
2009-02-27 21:02:19 +00:00
2009-06-01 14:21:05 -04:00
2009-05-28 00:30:21 -04:00
2009-06-01 14:21:05 -04:00
2009-06-12 12:21:07 -04:00
2009-06-12 12:21:07 -04:00
2009-05-28 00:30:21 -04:00
2009-06-08 15:30:28 +02:00
2009-05-28 00:30:21 -04:00
2009-05-28 00:30:21 -04:00
2009-05-28 00:30:21 -04:00
2009-05-05 14:45:18 -04:00
2009-06-01 14:21:05 -04:00
2008-07-21 02:19:56 +00:00
2008-09-04 20:41:50 +00:00
2009-05-30 15:29:23 +02:00
2009-05-28 00:30:21 -04:00