Hi all,

I'm using GSocket in a GTK application in non-blocking mode.

Once the connection is done, I'm creating a source for the main event loop:
        my_source = g_socket_create_source(my_socket, my_events, NULL);

How do we specify a callback? Should I use g_source_set_callback ()?
The callback would handle the input side from the host to my application.

Thanks,

JP

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to