hello ethere
is there a qt function to extract an ip address v4 (aaa.bbb.ccc.ddd) from a long QString
(basically reading line by line a text file) ?
thank you
nass
hello ethere
is there a qt function to extract an ip address v4 (aaa.bbb.ccc.ddd) from a long QString
(basically reading line by line a text file) ?
thank you
nass
Try QHostAddress::setAddress()You have the same method under Qt3 as well.
nope that can't really help,
i need a masking sort of function that will read through a string
"ifconfig eth0:1 192.168.1.12"
and will extract the ip from that. hostAddress can only accept solely the actual ip address...
nass
then use QRegExp
Bookmarks