This function returns a IOCondition depending on whether there is data to be read/space to write data in the internal buffers in the IOChannel.
Only the flags g_io_in and g_io_out may be set.
A IOChannel
A IOCondition