Skip to content
  • 0 Votes
    5 Posts
    7k Views
    TheNetT

    @raven-worx

    I can't thank you enough. Really appreciate your response :)

    Best regards :)

  • 0 Votes
    3 Posts
    2k Views
    Y

    @SGaist

    you should have to modify QAbtractSocket

    Seems like you right. The code in 'qabstractsocket.cpp':

    <...skipped...> // Start the connect timer. if (threadData->hasEventDispatcher()) { if (!connectTimer) { connectTimer = new QTimer(q); QObject::connect(connectTimer, SIGNAL(timeout()), q, SLOT(_q_abortConnectionAttempt()), Qt::DirectConnection); } connectTimer->start(QT_CONNECT_TIMEOUT); } <...skipped...>

    And there are no options to disable it. But I think it will be easy to patch it to make it work without connectTimer.

    But use a single timeout for thought of sockets ? Sounds strange.

    What else can I do to avoid handles exhaustion? I don't see any other options.

    Out of curiosity, why do you need so many sockets ?

    Just testing Qt abilities and limitations in this particular area.

  • 0 Votes
    7 Posts
    4k Views
    SGaistS

    I've never used one but I know the device. You should try to contact the VLC team to see with them how they proceed with the UPnP/DLNA part.