Re: question about libsoup dependency
- From: n179911 <n179911 gmail com>
- To: Dan Winship <danw gnome org>
- Cc: libsoup-list gnome org
- Subject: Re: question about libsoup dependency
- Date: Wed, 10 Feb 2010 14:54:06 -0800
Thank for you all the answers.
If my program just has a glib main loop, do I still need X11 in my
linux environment to run my program?
And my understanding is libSoup is for HTTP communication. For socket
based communication (server and client), I need to use GIOChannel? Is
that correct?
On Wed, Feb 10, 2010 at 2:24 PM, Dan Winship <danw gnome org> wrote:
> On 02/10/2010 05:07 PM, n179911 wrote:
>> HI,
>>
>> From LibSoup webpage, it said 'It uses GObjects and the glib main
>> loop, to integrate well with GNOME applications,'
>>
>> can you please tell me if I can run LibSoup without calling 'gtk_main()'?
>> If yes, how can I create a main loop which LibSoup needs?
>
> Yes, just make a GMainLoop. See
> http://library.gnome.org/devel/glib/stable/glib-The-Main-Event-Loop.html
>
> Also, most of the test programs in the libsoup sources (tests/ subdir)
> give examples of this.
>
> -- Dan
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]