Results 1 to 10 of 10

Thread: "QSocketNotifier: invalid socket 'Write' and type 26, disabling" What generates this?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Aug 2009
    Posts
    140
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    22

    Default Re: "QSocketNotifier: invalid socket 'Write' and type 26, disabling" What generates t

    Hello,

    So just as I was finishing that post it struck me that maybe the 'my_socket->flush();' command was the problem; according to Qt documentation it should be unnecessary. (Couldn't bring myself to just toss the post I just spent 45min composing though). I took it out, and now at least temporarily the problem seems to have disappeared. So perhaps this changes my question: Do I lose anything by taking that out? I want this information to be sent to the next process as quickly as possible, is it possible that other events will be processed before the QByteArray is sent?

    Matt
    Last edited by MattPhillips; 26th September 2010 at 15:58.

Similar Threads

  1. Replies: 7
    Last Post: 8th November 2012, 11:26
  2. QSocketNotifier: Invalid socket 12 and type 'Read', disabling...
    By kunalnandi in forum General Programming
    Replies: 1
    Last Post: 24th September 2008, 18:09
  3. "Treat wchar_t as Built-in Type" to "yes" link error
    By sungaoyong in forum Qt Programming
    Replies: 1
    Last Post: 5th June 2008, 11:45
  4. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05
  5. socket programming... getting "no route to host"
    By babusunlux in forum Qt Programming
    Replies: 1
    Last Post: 4th August 2006, 20:39

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.