question about giochannel



hi guys,
i have the following problem:
inside a gtk+ program i want to create a GIOChannel for use with a
socket and add it to the main event loop.
After i create the socket, says the reference, i should use
gtk_input_add_full or gdk_input_add_full or gdk_input_add
to do this. But how can i read or write to the GIOChannel that is
created from the above functions? They don't return a GIOChannel.

Another way is to do this myself with g_io_channel_unix_new and
g_io_add_watch or g_io_add_watch_full but this isn't working.

Thanx anyway



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