gdk_input_* and keep-alive connection



hi,

I am managing socket IO with gdk_input_add () and gdk_input_remove () (I
know I should use g_io_*...).

I am connecting to a HTTP server to retrieve data. my question is: how
can I detect the end of the input (to call gdk_input_remove ()) if I am
in "keep-alive" mode with the remote server? is there a specific flag to
add with GDK_INPUT_READ, or a event I should intercept?

thanks,

bye

-- 
Emmanuel Saracco - esaracco noos fr
http://emmanuel.saracco.free.fr




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