QHostAddress and job of setAddress



  • Dear all,

    I read manual of QHostAddress::setAddress , because of i ported a qt-program to non-qt program, i should understand all of tasks of setAddress, Can you explain me entirely?

    Then i write HostAddress class instead of QHostAddress.



  • Please have a look to the "documentation of QHostAddress":http://qt-project.org/doc/qt-4.8/qhostaddress.html IMHO it does not leave anything open to explain. Apparently the setAddress is merely a method to copy the information describing the IP address to internal memory.


 

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