Hi. I need help to work with sockets. I have a socket
descriptor and I want to run my function when it has
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

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