Results 1 to 7 of 7

Thread: QNativeSocketEngine

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2008
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QNativeSocketEngine

    I have been using the same socket for reading in data, and it works fine, but when I want to be able to write on the same socket I keep getting that "QNativeSocketEngine::write() was not called in QAbstractSocket::ConnectState" message over and over. When I run it under Windows it appears to work fine, but once I import to CentOS it doesn't work.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: QNativeSocketEngine

    Could you prepare a minimal compilable example reproducing the problem?

  3. #3
    Join Date
    Oct 2008
    Posts
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QNativeSocketEngine

    Just had this issue myself then eventually found out that the problem was that the server I was trying to connect to was down. Hadn't got as far as putting error checking in!

    Hopefully that helps anyone else who stumbles on this thread via google.

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.