what should I do if I got "Stream has outstanding operation" error.



Hi,

I use g_output_stream_printf() to send command to a server
and use g_data_input_stream_read_line() to read data back.

Sometime I got error message "Stream has outstanding operation".
What should I do if I detect this error ?
Do I need to flush() the IO stream after g_output_stream_printf() ?

Thanks
KC


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