Need details about ghttp_get_socket()
- From: rsteinke w-link net
- To: gnome-list gnome org
- Subject: Need details about ghttp_get_socket()
- Date: Sat Sep 27 12:57:01 2003
I'm working on a project that uses ghttp, and would like to pull it into a nice
event loop centered around select(). I noticed the function ghttp_get_socket()
in the headers, and I'm guessing that'll allow me to do what I want. My question
is, how does all this fit into the ghttp_process() cycle? Do I just do a
ghttp_prepare(), poll on readability, and run ghttp_process() when the socket
has data? Do I have to run ghttp_process() at least once before I start polling?
What?
Ron Steinke
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]