Results 1 to 2 of 2

Thread: socket programming... getting "no route to host"

  1. #1
    Join Date
    Feb 2006
    Posts
    9
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default socket programming... getting "no route to host"

    Hello.
    I am using a program with run on multithreaded... i am getting an message "no route to host" when the application is running... when i config some ip address.. i like to know when does such message comes and application hangs...

    I developing an application basically it reads data from 10 IPaddress, when i configure from application to the same which was already configured with a different IP then this message display in konsole and the application hangs...

    Thanks..

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: socket programming... getting "no route to host"

    If you use QSocketDevice, you should be able to check it using QSocketDevice::error().

Similar Threads

  1. Can any One help me? - Socket Programming?
    By vinod in forum Qt Programming
    Replies: 6
    Last Post: 18th November 2009, 09:46
  2. Problems in socket programming
    By vinod in forum Qt Programming
    Replies: 1
    Last Post: 7th March 2006, 08:09

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.