QLocalServer and QLocalSocket using different socket descriptor types



  • Hi all,

    due to the fact, that QLocalServer as well as QLocalServer are using qintptr as socketDescriptors, it is very confusing that the function

    void QLocalServer::incomingConnection(quintptr socketDescriptor)
    

    is using a quintptr as socketDecriptor.

    Can please someone explain why, since other classes such as QTcpSocket are also using qintptr and not quintptr?

    How can I handle this?
    Or is this a bug?

    regards
    Oliver


  • Lifetime Qt Champion

    Hi,

    Interesting question, you should bring it to the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.