QLocalServer object fails to create a socket file on MAC OS



  • Client side application, which uses QT 5, fails to upload file to a server because object of type QLocalServer fails to create socket: listen(socket_name) function returns false. The issue is detected when the application is just installed and launched. After restarting the application it works correctly.

    What can be the reason that socket is not created?
    Thanks.


  • Lifetime Qt Champion

    Hi,

    Where do you create your socket ?


Log in to reply
 

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