Using GSocket in a GTK application
- From: Jacques Pelletier <jpelletier ieee org>
- To: gtk-app-devel-list gnome org
- Subject: Using GSocket in a GTK application
- Date: Sun, 13 Feb 2011 22:17:12 -0500
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]