Re: Review of gnio, round 1



On Sun, 10 May 2009 17:29:48 +0300
Stefan Kost <ensonic hora-obscura de> wrote:

> Alexander Larsson schrieb:
> > With gnome 2.26 out and the GResolver branch landed it is time to start
> > look at merging the gnio network code into gio. I'm posting this here,
> > plus CC:ing the involved people instead of on bugzilla in order to get
> > feedback from others who may be interested but unaware of this work.
> 
> Its a bit late - Is there an object called GResolver? If so could that be named
> GNameResolver or something simillar - or would it be GNIOResolver?. I feel
> GResolver sounds too generic.

Speaking of GResolver, in the API (which I'm currently staring at here:

http://git.gnome.org/cgit/glib/diff/gio/gresolver.h?h=gresolver&id=05507dce1f540581028e8be0e220e68c44fade2f

) I don't see any attempt at the gai()-style "hostname + servicename"
resolver. Where's the ability to connect to, say, "www.google.com:http"?

Half the point of gai+gni was to unify the separate operations of
hostname->IP and servicename->port, so they're in one combined place.
gai() can therefore support things like SRV records, which the previous
pair of gethostbyname+getservbyname cannot.

Unless perhaps I'm looking at the wrong part, or there's a more
up-to-date version somewhere?

-- 
Paul "LeoNerd" Evans

leonerd leonerd org uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

Attachment: signature.asc
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]