On mercredi 12 novembre 2008, Ron wrote: > Hmm, got stuck on another strange bug, preventing me from releasing my > project grrr... > > I posted sometime ago already that after changes in svn I got weird > errors like these: > > QSocketNotifier: Multiple socket notifiers for same socket 18 and type read > > BUT, my socket code is almost the same as the Gambas example project > 'ClientSocket' which worked ok. > I was driving me nuts. > > Then I got a lightbulb moment telling me that QSocketNofifier is a QT > thing, so if you change ClientSocket to use component gb.qt instead of > gb.gtk, it has the same bug!! > > If you read a socket you get the above error and no input. > > I have done my part, now Benoit can fix it, lol.. > > > Using Gambas 2,9 from svn today, and Ubuntu 8.04, and gb.qt. > > > I never had thought that QT had something to do with network sockets. > > Regards, > Ron_2nd.
The ClientSocket example did not work, both with gb.gtk and gb.qt, because of a bug in the Socket source code. I fixed the Socket class in the last revisions: now the example works again. But I do not have the warnings you get with Qt. Which Qt version do you use? -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user