what should I do if I got "Stream has outstanding operation" error.
- From: KC <kcc1967 gmail com>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: what should I do if I got "Stream has outstanding operation" error.
- Date: Thu, 2 Mar 2017 02:29:08 +0800
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]