|
Vidalia 0.2.15
|
#include <QHostAddress>Go to the source code of this file.
Functions | |
| bool | net_test_connect (QHostAddress host, quint16 port, int timeout=250) |
| bool | socket_test_connect (QString server, int timeout=250) |
| bool net_test_connect | ( | QHostAddress | host, |
| quint16 | port, | ||
| int | timeout | ||
| ) |
Attempts a connection to host on port. Returns true if the connection was successful, or false if the connection attempt failed.
Definition at line 25 of file net.cpp.
Referenced by MainWindow::start().
| bool socket_test_connect | ( | QString | server, |
| int | timeout = 250 |
||
| ) |
Attempts a connection to server. Returns true if the connection was successful, or false if the connection attempt failed.
Definition at line 37 of file net.cpp.
Referenced by MainWindow::start().
1.7.4