Re: Gio::SocketConnection new data

On Fri, 2010-10-29 at 20:08 +0100, teofil camarasu wrote:
> Is there a way to call a function every time a new peice of data
> arives to the Gio::SocketConnection (like in Qt's readyRead signal).

By using Gio::ThreadedSocketService[1] and connecting to its
signal_run() signal, it is possible for the slot to perform blocking IO
indefinitely on the socket connection until the connection is closed.


> Thanks
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org


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