Re: question about libsoup dependency



Thank you. But having gtk_main() in my program does make my program
requires X, right?
I am not familiar the difference between glib and gtk. Sorry.


On Wed, Feb 10, 2010 at 3:36 PM, Andreas Rottmann <a rottmann gmx at> wrote:
> n179911 <n179911 gmail com> writes:
>
>> 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?
>>
> No, using the glib main loop does not make your program require X.
>
>> And my understanding is libSoup is for HTTP communication. For socket
>> based communication (server and client), I need to use GIOChannel? Is
>> that correct?
>>
> If you want raw TCP sockets, can use that (GIOChannel), or use gio[0],
> which is a part of the glib distribution and has a higher-level API
> than GIOChannel AFAICT.
>
> [0] http://library.gnome.org/devel/gio/stable/
>
> Regards, Rotty
> --
> Andreas Rottmann -- <http://rotty.yi.org/>
>


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