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.

[1]
http://library.gnome.org/devel/glibmm/stable/classGio_1_1ThreadedSocketService.html

> 
> Thanks
> _______________________________________________
> gtkmm-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtkmm-list

-- 
José

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to