Test Host Reachability with QT

109 views
Skip to first unread message

Hammal Mohammed Ali

unread,
Jul 7, 2014, 2:51:06 AM7/7/14
to razo...@googlegroups.com
Hi,

I need to know if i can test a host reachability with QT.

Thank you for your answers.

Kevin Krammer

unread,
Jul 7, 2014, 4:47:32 AM7/7/14
to razo...@googlegroups.com
On Sunday, 2014-07-06, 23:51:06, Hammal Mohammed Ali wrote:
> Hi,
>
> I need to know if i can test a host reachability with QT.

Assuming you mean host in the sense of a TCP service, yes, Qt's network module
allows you to establish connections.
See QTcpSocket::connectToHost()

Cheers,
Kevin
--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
signature.asc
Reply all
Reply to author
Forward
0 new messages