Re: [Vala] gnet-2.0 bindings



On Mon, 6 Jul 2009, Frederik wrote:

Michael B. Trausch wrote:
Hello,

I have created a set of bindings for gnet-2.0 (attached)
btw, "GNIO" has landed in GIO trunk:
http://library.gnome.org/devel/gio/unstable/

Yes, I was looking at that.  Am interested in using that API, once it's out 
there.  I expect that most applications will only port to it when gnet-2.0 is 
fully removed, which I think is scheduled for the same time as the removal of 
all other current deprecated code/APIs in the glib 2.x family.
* Lowlevel platform-independent network support
* DNS resolution
* Highlevel network functionality

At the moment 'gio-2.0.vapi' only covers parts of it (Resolver,
InetSocketAddress, but not SocketClient, SocketConnection, ...). Maybe
it must get regenerated?

Yes, but I expect that won't happen until glib 2.22 is released.

Also, gnet-2.0 (despite being on the brink of deprecation) will still be used by people that want to have compatability with current and recent systems. So, it's still a useful binding to have.
It shouldn't be that hard, given today's VCS technology, to port applications 
to GIO when it is widespread, whilst maintaining gnet-2.0 versions of the 
software that do more of the heavy lifting themselves.  It will be some time 
yet before all developers will be using the new APIs, anyway; I know that at 
present, I am working on a Vala library that wants at least a half-way decent 
API for networking, and works with glib versions likely to be found in 
repositories that are 2 years old or so...
        --- Mike



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