摘要:
#include #include #include #include struct hostent *h; QByteArray ba = ui->lineEdit->text().toLatin1(); h = gethostbyname(ba.data()); if(h == NULL) { qDebug()h_addr; char *ch = inet_ntoa(*in); QString str = QString(QLatin1String(ch)); qDebu... 阅读全文
posted @ 2014-04-07 22:42
wiessharling
阅读(1159)
评论(0)
推荐(0)

浙公网安备 33010602011771号