Re: Watching filedescriptors



Soeren Sandmann wrote:

Hi,

> One thing I and many other people regularly need is to be notified
> whenever something happens on a file descriptor. This is needed when
> you write networked applications, or when you with to communicated
> with spawned child processes, and in many other circumstances.
> 
> The way you are supposed to do that with glib right now is with
> GIOChannels. Unfortunately, GIOChannels are quite painful to use, and
> somewhat overengineered.

While GIOChannel might be a bit hard to get the first time they get the
job done. Having two APIs that does essentially the same would in my
opinion be more confusing.

Best Regards,
  Mikael Hallendal

-- 
Imendio AB, http://www.imendio.com/



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