Re: GIO and sockets



Felipe Contreras wrote:
> How should applications use sockets with GIO?
> 
> I'm interested in hostname resolution, and socket handling. If
> possible also proxy handling.

There isn't yet a good story here. See
http://bugzilla.gnome.org/show_bug.cgi?id=515973 and
http://bugzilla.gnome.org/show_bug.cgi?id=548466.

One possibility that's available now is to use SoupAddress and
SoupSocket from libsoup, and just ignore the HTTP parts of the library.
This is what the gvfs ftp backend does (although gvfs already depended
on libsoup anyway, so it was an easy decision to make there).

-- Dan


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