Re: question about libsoup dependency



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]