diff ChangeLog.API @ 30153:35a1cf247168

Add network listen functions that accept a family argument (AF_INET(6?)). These allow code to portably support IPv6 for listeners (mostly file transfers and Bonjour). Callers should use the purple_socket_speaks_ipv4 to determine whether they need two sockets or just an IPv6 one. I used GIO's g_socket_speaks_ipv4 as the inspiration for that.
author Paul Aurich <paul@darkrain42.org>
date Sat, 17 Apr 2010 01:27:04 +0000
parents 4d0ccbc905aa
children 933c8251e036
line wrap: on
line diff
--- a/ChangeLog.API	Fri Apr 16 03:44:18 2010 +0000
+++ b/ChangeLog.API	Sat Apr 17 01:27:04 2010 +0000
@@ -19,7 +19,15 @@
 		  IPs on the system.  On systems with the getifaddrs() function,
 		  this will return both IPv4 and IPv6 addresses (excluding link-local
 		  and loopback addresses).  On others, it returns just IPv4 addresses.
+		* purple_network_listen_family and
+		  purple_network_listen_range_family.  These will replace the
+		  versions without _family in 3.0.0 and allow the caller to
+		  specifically request either an IPv4 or IPv6 socket.  IPv6 is
+		  only supported if the getaddrinfo() function is available
+		  at build-time (not the case on Windows, currently).
 		* purple_prpl_got_media_caps
+		* purple_socket_get_family
+		* purple_socket_speaks_ipv4
 		* purple_unescape_text
 		* purple_uuid_random
 		* media_caps to the PurpleBuddy struct