Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QNativeSocketEngine::hasPendingDatagrams() was called in QAbstractSocket::UnconnectedState
Qt 6.12 LTS is out! See what's new in the release blog

QNativeSocketEngine::hasPendingDatagrams() was called in QAbstractSocket::UnconnectedState

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    neha9
    wrote on last edited by
    #1

    Re: Warning: hasPendingDatagrams called in UnconnectedState. Huh?

    Hello,

    I am using Qt 5.10.1 on ubuntu 16.04 . I have connected 7 inch LCD screen to Beaglebone black using HDMI cable.

    My issue is when I run my program for the first instance it works alright and when I stop that using ctrl+Z and again run the same program I get error "QNativeSocketEngine::hasPendingDatagrams() was called in QAbstractSocket::UnconnectedState "

    when I restart Beaglebone it works fine. I am not getting what is an issue and every time I cannot restart my controller.

    Please help me.

    jsulmJ 1 Reply Last reply
    0
    • N neha9

      Re: Warning: hasPendingDatagrams called in UnconnectedState. Huh?

      Hello,

      I am using Qt 5.10.1 on ubuntu 16.04 . I have connected 7 inch LCD screen to Beaglebone black using HDMI cable.

      My issue is when I run my program for the first instance it works alright and when I stop that using ctrl+Z and again run the same program I get error "QNativeSocketEngine::hasPendingDatagrams() was called in QAbstractSocket::UnconnectedState "

      when I restart Beaglebone it works fine. I am not getting what is an issue and every time I cannot restart my controller.

      Please help me.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @neha9 said in QNativeSocketEngine::hasPendingDatagrams() was called in QAbstractSocket::UnconnectedState:

      I stop that using ctrl+Z

      That means the program is still alive but paused. Most probably you're trying to use same port which is already in used by the first instance which is paused. How do you connect? Did you check whether there are any errors when connecting?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt
      • Unsolved