Results 1 to 5 of 5

Thread: QAbstractSocket::waitForConnected() does not waits

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: QAbstractSocket::waitForConnected() does not waits

    What's the point of waiting if the connection gets refused?
    J-P Nurmi

  2. #2
    Join Date
    Nov 2007
    Posts
    291
    Thanks
    85
    Thanked 1 Time in 1 Post

    Default Re: QAbstractSocket::waitForConnected() does not waits

    I want a client application which keeps trying till it gets connected to server.

    I dont know who is refusing the connection since no server is listening to port 8888(to which client is trying to connect).

    Although i use while loop to reconnect as a workaround,the while makes the application run slower.

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.