gtk_input_add
- From: Nicolas web <cerebro101 yahoo com>
- To: gtk-list gnome org
- Subject: gtk_input_add
- Date: Mon, 18 Mar 2002 03:21:54 -0800 (PST)
Hi. I need help to work with sockets. I have a socket
descriptor and I want to run my function when it has
data.
I use this command:
gdk_input_add (mysocket, GDK_INPUT_READ,
GTK_SIGNAL_FUNC (myfunction),&mydata)
I´ve not compiling error. But when data arrives my
program crashes.
Function works OK, because it works if assign it to a
button´s succes.
I think there´s an error on third argument. Maybe
GTK_SIGNAL_FUNC () is not correct. Can anybody help me?
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]